Java sorting and keeping track of indexes
Same as this question:

http://stackoverflow.com/questions/1577475/c-sorting-and-keeping-track-of-indexes

but in Java.

Edit: Wow -5 in less than 3 minutes. What did I miss?
Java sorting and keeping track of indexes
===

Same as this question:

http://stackoverflow.com/questions/1577475/c-sorting-and-keeping-track-of-indexes

but in Java.

Edit: Wow -5 in less than 3 minutes. What did I miss?