You can sort a list with the method "sort(List<T>, Comparator<? super T>)" from the Collections class.
Doc: Collections (Java Platform SE 6)

All you have to do is define a comparator for your...