How could I go about comparing two or more numbers and find the order from highest to lowest and vice versa. For example I could have 3 5 7 2 1. How could I arrange it so that it is 1 2 3 5 7, and that if the numbers change, the order changes as well?
-
Comparing Number size
-
i think you could get it working with a cascade of [moses] objects
-
try [sort].
[3 5 7 2 1(
|
[sort 1] ...if you put negative value as a creation argument, you get descending list
|
[unpack f f f f f( -
Wow thank you sinewave, I thought I would have to do some elaborate IF then statements.