david golightly wrote:
Forgot all that. You don't need externals. PD already does exactly this. What you're doing is mapping one set of numbers to another:
0 -> 1 3 -> 2 5 -> 3 10 -> 4
....
well, the subject of the mail was about "ordered" numbers, so i thought about sorting arbitrary numbers, not a fixed set. if you have a fixed set of numbers and want to do a mapping between those, your solution is surely the preferred way to go.
mfg.asdr IOhannes