Hi,
okay, to make up for my mistake, here's a vanilla solution to the problem. It also uses data structure sorting, like the latest list-sort.
The idea here might be applied to other areas as well:
We define a "pair" data structure of two floats, (x, y), then some random data is created, then it's sorted by "x", then it's printed out.
Frank
On Mon, Dec 15, 2014 at 01:08:07PM +0100, Frank Barknecht wrote:
On Mon, Dec 15, 2014 at 12:36:42PM +0100, Frank Barknecht wrote:
Hi,
On Mon, Dec 15, 2014 at 12:01:23PM +0100, achim@bornhoeft.org wrote:
I would like to sort 2 lists according to one of them sorted in ascending order (see attached patch). Can somebody help me with that ?
The abstraction "list-sort.pd" from the [list]-abs collection can sort in both ways.
Sorry, I misunderstood your question ... list-sort won't help you here.
Ciao
Frank Barknecht _ ______footils.org__
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list