How to make compareTo sort a list alphabetically?
<p>How do I change my code so that it lists the elements in alphabetical order from a to z.  Right now it's ordering from z to a.  I can't figure it out and am stuck :-/</p>

<pre><code>    String sName1 = ((Address)o).getSurname().toLowerCase();
    String sName2 = (this.surname).toLowerCase();
    int result = (sName1).compareTo(sName2);

    return result;
</code></pre>

<p>Thanks :)</p>
