Does anyone know about a sorted collection class in Silverlight 4? SortedSet <T>, SortedList <T>, and SortedDictionary <T> all seem to be missing.
Of course, I can use List <T> .Sort () or the extension method IEnumerable <T.OrderBy (). But I would prefer not to sort O (n log n) every time an item is added or removed.
Thanks for your help,
Richard.
source
share