|
|||||||||||||||||||||||||||||
|
|
Here"s a little handler that will sort points by either their locV (default) or their locH (if you use a non-void second parameter). On my Mac 7600/132, it reverses the order of a 1000 item list in less than 5 ticks, and reverses the order of a 100 item list in less that 1/5th of a tick. The principle can be adapted to sorting a list by any value (for example, the area of a rect). Have fun.
|
|
|