title: java - alphabetical order (list)
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/708698/sort-list-alphabetically">Sort List Alphabetically</a>  </p>
  </blockquote>
  
  
  
  <p>how do i store my inputs in alphabetical order, i am inputting names into an arraylist:</p>
  
  <pre><code>    persons.add(person);
  </code></pre>
  
  <p>How to do that?</p>