Function
(scale-order list [type] [unique?])
Reorders list of notes or keynums. Type is a keyword that determines how the
list is ordered, possible values are :up, :down or :random.
The default value is :up. If unique? is true then the results
will not contain any duplicate note names or key numbers.
cm> (scale-order '(c4 b3 g4 fs2)) (fs2 b3 c4 g4) cm> (scale-order '(c4 b3 g4 b3 c4 fs2) :down true) (g4 c4 b3 fs2) cm>