dcsimg

How do I sort objects into their reverse natural ordering?

John Zukowski

The Collections.reverseOrder() method returns a Comparator that sorts objects that implement the Comparable interface in reverse order.