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

On Wed, Mar 14, 2012 at 7:26 PM, Benoît Fortier <benoitfortier@yahoo.ca> wrote:
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?

Benoît


De : Andy Farnell <padawan12@obiwannabe.co.uk>
À : Benoît Fortier <benoitfortier@yahoo.ca>
Cc : pd-list <pd-list@iem.at>
Envoyé le : mercredi 14 mars 2012 18h17
Objet : Re: [PD] store and manipulate multiple lists

[list sort]

maybe?

a.

On Wed, Mar 14, 2012 at 03:04:25PM -0700, Benoît Fortier wrote:
> Hi everybody,
>
> 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?
>
> Thank you all, this list has been very helpfull to me, and its also quite entertaining!
>
> Benoît

> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




--
Lic. José Rafael Subía Valdez

SoundArtist
www.facebook.com/JRafaelSubiaValdez (Public Page)
www.myspace.com/joserafaelsubiavaldez
https://puredata.info/author/rafasubia
www.redce.org