I have an interface IScriptItem
that implements IComparable<IQueueItem>
.
In my eyes it would seem enough to have IComparable
items in order to have a sorted anything. But all I can find is Dictionaries, Hashtables and SortedLists that are actually SortedTrees.
What I'm looking for is a sorted generic list that takes IComparables. Am I looking in the wrong places?