try the matrix object from the iemmatrix lib, you can input each list to a row or column and then you can sort a row or column or even the whole matrix acording to a list &quot;vector&quot;<br><br><div class="gmail_quote">

On Wed, Mar 14, 2012 at 7:26 PM, Benoît Fortier <span dir="ltr">&lt;<a href="mailto:benoitfortier@yahoo.ca">benoitfortier@yahoo.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Thanks Andy. But as far as I know, [list-sort] will sort the number in a list, and what I really need is to sort multiple lists according to their first element (which are numbers)... is there a trick with [list-sort] that allows to do that?</span></div>

<div><br><span></span></div><div><span>Benoît<br></span></div><div><br></div>  <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">

 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">De :</span></b> Andy Farnell &lt;<a href="mailto:padawan12@obiwannabe.co.uk" target="_blank">padawan12@obiwannabe.co.uk</a>&gt;<br> <b><span style="font-weight:bold">À :</span></b> Benoît Fortier &lt;<a href="mailto:benoitfortier@yahoo.ca" target="_blank">benoitfortier@yahoo.ca</a>&gt; <br>

<b><span style="font-weight:bold">Cc :</span></b> pd-list &lt;<a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>&gt; <br> <b><span style="font-weight:bold">Envoyé le :</span></b> mercredi 14 mars 2012 18h17<br>

 <b><span style="font-weight:bold">Objet :</span></b> Re: [PD] store and manipulate multiple lists<br> </font> </div> <br>[list sort] <br><br>maybe?<br><br>a.<br><br>On Wed, Mar 14, 2012 at 03:04:25PM -0700, Benoît Fortier wrote:<br>

&gt; Hi everybody,<br>&gt; <br>&gt; I need to store multiple lists of numbers in a text file in a specific order : the first number of each list must be ascending, from the first line of the text file to the last. The problem is this : my patch outputs the lists in an unordered way. I could rewrite the patch so that the lists gets outputed the correct way, but to be able to store all the lists somehow and then write a patch to order them afterward feels to me like a much more elegant solution. Any toughts on this?<br>

&gt; <br>&gt; Thank you all, this list has been
 very helpfull to me, and its also quite entertaining!<br>&gt; <br>&gt; Benoît<br><br>&gt; _______________________________________________<br>&gt; <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>

&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br><br><br><br> </div> </div>  </div></div><br>_______________________________________________<br>


<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lic. José Rafael Subía Valdez<br><br>SoundArtist<br><div><a href="http://www.facebook.com/JRafaelSubiaValdez" target="_blank">www.facebook.com/JRafaelSubiaValdez</a> (Public Page)</div>

<div><div><a href="http://www.myspace.com/joserafaelsubiavaldez" target="_blank">www.myspace.com/joserafaelsubiavaldez</a><br><a href="https://puredata.info/author/rafasubia" target="_blank">https://puredata.info/author/rafasubia</a><br>

<a href="http://www.redce.org" target="_blank">www.redce.org</a><div><br><font face="&#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif" size="4"><span style="font-size:14px;line-height:17px"><br></span></font></div>

</div></div><br>