If you are looking for a list that will sort using the compareTo method, i would suggest a TreeSet. Check out the javadocs for that. It is pretty impressive.