Given a list of character vectors (and scalars), grade appears to generate the permutation vector first by length then by content.
⍋'aaa' 'xx' 'y' 'bbb' 'cc'
3 5 2 1 4
This seems counterintuitive. It seems as if ⍋ treats character strings like numbers. Is this a bug?
--
"The secret to creativity is knowing how to hide your sources."
Albert Einstein