Skip to content

Ordering

Returns the permutation that sorts a list.

$ wo 'Ordering[{30, 10, 20}]'
{2, 3, 1}