I need to sort the values (double) and still able to access the keys.How do you need to access the keys? Do you actually need them sorted as
can I create a new sortedlist and just swap the keys and values in the
original sortedlist?
well?
Do you need to have sorted access to the values on a regular basis, or
just once occasionally? (You could sort when you needed them if it's
the latter.)
--
Jon Skeet - <sk***@pobox.com>
Web site: http://www.pobox.com/~skeet
Blog: http://www.msmvps.com/jon.skeet
C# in Depth: http://csharpindepth.com