Sort an iterator of strings
<p>I have an iterator of strings.</p>

<p>For sorting  i need to create a  list from it and sort it using <code>Collections.sort(list)</code>.</p>

<p>Is there any simple way to sort an iterator.</p>
