Hi, this is my first post on the forum. I've been working with pure data for a month or so. I want to build a simple subpatch that orders N numbers from lowest to highest. I found an easy way it to do it for 2 numbers, and I thought that by some sort of iteration with the same subpatch several times I could order any amount N of numbers. I cant find a simple and elegant solution to this problem. Has anyone tried this before?
-
Ordering N numbers from lowest to highest?
-
http://en.wikipedia.org/wiki/Sorting_algorithm
the basic idea is to take your two number sorter and make it recursive. The bubble sort is relatively easy to implement and is fairly efficient in execution.
any technology distinguishable from magic
is insufficiently advanced. -
Got it, thanks!