Sorting a HashTable by value
Posted on 2005-05-06
I need to sort a hashtable by its values. There are duplicate value for the keys in the table, but it doesn't matter. All that's important is that the key-value relationship is maintained and the values are sorted from lowest to highest (they're Integer values in my case). If what I want to do is impossible or there is a better way to do what I need, please let me know what else I can do. All I really need is a list that holds pairs of integer values, one unique and one not unique, sorted by the not unique column.