title: Sorting ArrayList alphabetically
body: <p>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".</p>
  
  <p>How do I sort the ArrayList in alphabetically order? Any help would be much appreciated</p>
  
  <p>I tried unsuccessfully using:</p>
  
  <pre><code> Collections.sort(contactList);
  </code></pre>