you can use the java.util.Collections helper class. There's a sort() method which takes a collection like ArrayList as input!
posted 9 years ago
Did you already try a search? This is a topic that comes up from time to time. When you search this "Java in General (beginner)" forum with "sort list". This is the first result, which contains a recent discussion on sorting a list (although the title wrongly says "sort array").