ength.compareTo(b.length));
print(numbers);  // [one, two, four, three] OR [two, one, four, three]
</code></pre>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">void sort([int compare(E a, E b)]) {
  throw new UnsupportedError(&quot;Cannot sort immutable List.&quot;);
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-