works on non-scalar arrays
which are all real numbers or all characters
compares major cells item-wise
in ravel order (lexicographic ordering)
uses exact comparisons
(as if 0=⎕ct)
x← ↑ 'three' 'two' 'one' 'Zero'
x x[⍋x;] ⍋x
three Zero 3 2 0 1
two one
one three
Zero two
⍋ 'three' 'two' 'one' 'Zero' ⍋ 2j¯1 2 2j3
DOMAIN ERROR DOMAIN ERROR
⍋'three' 'two' 'one' 'Zero' ⍋2J¯1 2 2J3
∧ ∧