Hvae you looked at java.util.Collections? See the methods reverse(), which
reverses (moodifes) the collection, and reverseOrder(), which just provides
a convenient comparator.
Try something like
// Create a TreeMap that sorts in the reverse order
SortedMap sortedMap = ne
Hi Veronique,
you have to use the constructor TreeMap(Comparator c) contructor and
provide a comparator implementation which sorts the key in the right order.
Thomas
P.S. :A small hint: as this is not a torque-related question, you are lucky
to get this question answered here.
Veronique