[PD] sort 2 lists
Frank Barknecht
fbar at footils.org
Mon Dec 15 17:05:31 CET 2014
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.
Ciao
--
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 at 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 at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
Frank Barknecht _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sort-list-by-list-with-ds.pd
Type: application/puredata
Size: 3105 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141215/529daecb/attachment-0001.bin>
More information about the Pd-list
mailing list