Atom - ŒỤ - Multidimensional Grade Up

Characters: Π,

Tags: miscellaneous , array , number , combinatorics

Arity: monadic

This atom is monadic, which means it takes one argument.


Grade up a multidimensional list; that is, sort its multidimensional indices by the corresponding values.


Indexing the graded list into the list (ŒỤœị$) sorts the list (equivalent to FṢ$). You can negate the values before grading to grade down (NŒỤ$).