SORT+

[GENERIC-FUNCTION]


OMPitchField
Function Reference
ARGUMENTS:
  - lst the list  
&optional
 
  - test test [default = <]
  - key key  

Description:


Sorts list and reports when multiple items have same position in sort order.
<test> binary function name or object, indicating how to compare elements.
<key> binary function name or function object that will be applied to elements.

A function icon or subpatch icon in 'lambda' mode can be connected to <test>
and <key>.

The first output is the sorted list. The second output indicates equal element
(or key) values; for instance, if the second output begins (1 3 ...), then the first
element comes first in the sort order, the next three elements are tied for
second in the sort order, and so on.



Auto doc generation by OpenMusic 6.3 © 2010 IRCAM