I need a data structure that acts like a SortedDictionary but is sorted based on the values rather than the keys. I need it to take about 1-
SortedDictionary
You can sort SortedDictionary by value like this:
yourList.Sort( delegate(KeyValuePair val1, KeyValuePair val2) { return val1.Value.CompareTo(val2.Value); } );