Reversed Sorted Dictionary?
- by Mark
I have a SortedDictionary as defined like this:
SortedDictionary<TPriority, Queue<TValue>> dict;
But I want to sort the keys in reverse order. I assume I need set the Comparer, but what comparer do I use for a generic TPriority? Note that TPriority implements IComparable.