How sort this list in netlogo
<p>I am trying to order the following list in netoglo:</p>

<pre><code>[[0.1 [1 2 5 3 1]] [0.3 [1 2 1 3 1]] [0.2 [1 2 1 3 1]]]
</code></pre>

<p>Actually they are list lists and what I want is to sort by the first element of each sublist:</p>

<p>When I use <code>sort [[0.1 [1 2 5 3 1]] [0.3 [1 2 1 3 1]] [0.2 [1 2 1 3 1]]]</code></p>

<p>It returns empty I suppose because it only sees lists and not anything so I sort.</p>

<p>Any ideas.</p>