Sunday, December 3, 2006 04:46 PM
Collections.sort( yourListHere, someComparatorHere );
Sunday, December 3, 2006 10:53 AM
why can't u use TreeSet for sorting, which allows sorting in both ascending as well as descending.
Note - insertion of all object of type should same.