I have a list of integers , how to sort it?
<p>Have a list of integers like</p>

<pre><code>List&lt;Integer&gt; l = new ArrayList&lt;Integer&gt;();
</code></pre>

<p>I think calling <code>l.contains</code> is slow, how to sort the list. After sorting, will <code>l.contains</code> behave faster?</p>

<p>Is there any sortedList I can use directly?</p>
