Tuesday, May 22, 2001 04:04 PM
The interface is Comparable.... Just create one for the specific sort order you want and pass it to the appropriate Arrays method for sorting.
Tuesday, May 22, 2001 12:17 AM
The collection framework uses the interface Comparible. If you really need a differend sorting algorithm you need to implement your own. Write a simple wrapper for the data that implement the Comparible method... and that's it.