I have an ArrayList "contactList" in the class "ContactGroup" that contains an object of another class "Contact". The object contains a String for "name" and an int for "phoneNum".
How do I sort the ArrayList in alphabetically order? Any help would be much appreciated
I tried unsuccessfully using:
Collections.sort(contactList);