Originally posted by Ashwin Kudwa:
hi all,
I think you need to write a comparator, then pass this to thje Collections.sort() method.
Collections.sort() method is used for sorting alphabetically. So i don't think it will work
Unless you pass a Comparator to it as Alana suggested.