m - Incr</code> and <code>Incr &gt; 0</code>.</li>
  <li>If <code>To &gt; From - Incr</code> and <code>Incr &lt; 0</code>.</li>
  <li>If <code>Incr =:= 0</code> and <code>From =/= To</code>.</li>
  </ul>
  The following equalities hold for all sequences:
  <pre>  length(lists:seq(From, To)) =:= To - From + 1
  length(lists:seq(From, To, Incr)) =:= (To - From + Incr) div Incr</pre></p>

<h3 class="function"><a name="sort-1">sort/1</a></h3>
<div class="spec">
<p><tt>sort(Iterator1) -&gt; Iterator2</tt>
<ul cl