title: java - cannot find symbol (arrayList sort collection)
body: <p>Hi i run into a problem when sorting an arrayList as following (and yes i have imported util):</p>
  
  <pre><code>    Collections.sort(personer);
  </code></pre>
  
  <p>I have this list:</p>
  
  <pre><code>private List&lt;Person&gt; personer;
  
  public Register() {
      personer = new ArrayList&lt;Person&gt;();
  }
  </code></pre>
  
  <p>But i got the error:</p>
  
  <blockquote>
    <p>mittscript.java:45: cannot find symbol
    symbol  : method
    sort(java.util.List) location:
    class java.util.Collections
                    Collections.sort(personer);</p>
  </blockquote>