[PD] numeric order

Frank Barknecht fbar at footils.org
Mon Jun 20 08:57:00 CEST 2011


On Sun, Jun 19, 2011 at 07:20:02PM +0200, Mirko Maier wrote:
> hi everybody,
> 
> i have textfile like
> 
> 1 this;
> 4 my;
> 3 is;
> 10 file;
> 
> and i would like to put it into numerical order, so that the final result is
> 
> 1 this;
> 3 is;
> 4 my;
> 10 list;
> 
> the only possibility i found was a recursive use of "minmax", but i have huge
> lists and then it is very cpu-expensive. is there any object for numerical
> ordering or something shorter than using "minmax"? thanks for hints.

[m_symbolarray] in the rj library can do this. It's a kind of array or [table]
that stores symbols instead of numbers.

Ciao
-- 
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org__



More information about the Pd-list mailing list