<div dir="ltr">Got a bit caught up on this, its fun<div><br></div><div>but this is the simplest I can provide now. This patch does exactly what you wanted.</div><div><br></div><div>cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 1:04 PM, José Rafael Subía Valdez <span dir="ltr"><<a href="mailto:jsubiavaldez@gmail.com" target="_blank">jsubiavaldez@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">oops, sorry about that, I ment to say that if you put down the two lists you can follow what i did, not necessarily the sorting that you want, but its a start, and actually, what you want is easier (I think), but take a look.<div><br></div><div>let me see if I can make a simpler example and send it<br><div><br></div><div>cheers </div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 15, 2014 at 11:36 AM, José Rafael Subía Valdez <span dir="ltr"><<a href="mailto:jsubiavaldez@gmail.com" target="_blank">jsubiavaldez@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I did this for a musical interface created in a research project.<div><br></div><div><a href="http://lac.linuxaudio.org/2012/papers/9.pdf" target="_blank">http://lac.linuxaudio.org/2012/papers/9.pdf</a><br></div><div><br></div><div>check the 3.3.3 point.</div><div><br></div><div>but basically what I did is filled out a matrix (iemmatrix lib) and had 3 rows.</div><div><br></div><div>1. is the index,</div><div>2. is the first list (the one that the sorting is based on) sort it as you wish</div><div>3. is the other list.</div><div><br></div><div>this way you have the order of the your "ruling" list set by the first two rows. </div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Dec 15, 2014 at 11:01 AM,  <span dir="ltr"><<a href="mailto:achim@bornhoeft.org" target="_blank">achim@bornhoeft.org</a>></span> wrote:</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,<br>
I would like to sort 2 lists according to one of them sorted in ascending order (see attached patch).<br>
Can somebody help me with that ?<br>
Thanks a lot in advance,<br>
Achim<br>
<br>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr">José Rafael Subía Valdez<br><div><a href="http://www.jrsv.net" target="_blank">www.jrsv.net</a><br><div><br></div><div><br><div><br><font face="'lucida grande', tahoma, verdana, arial, sans-serif" size="4"><span style="font-size:14px;line-height:17px"><br></span></font></div></div></div></div></div>
</font></span></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div><div dir="ltr">José Rafael Subía Valdez<br><div><a href="http://www.jrsv.net" target="_blank">www.jrsv.net</a><br><div><br></div><div><br><div><br><font face="'lucida grande', tahoma, verdana, arial, sans-serif" size="4"><span style="font-size:14px;line-height:17px"><br></span></font></div></div></div></div></div>
</div>
</div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">José Rafael Subía Valdez<br><div><a href="http://www.jrsv.net" target="_blank">www.jrsv.net</a><br><div><br></div><div><br><div><br><font face="'lucida grande', tahoma, verdana, arial, sans-serif" size="4"><span style="font-size:14px;line-height:17px"><br></span></font></div></div></div></div></div>
</div>