External Issue: [Feature Request]: argSort

28432, "00shiv", "[Feature Request]: argSort", "2026-02-20T18:41:22Z"

Summary of Feature

Description:

Provide a routine in Sort module that can sort the values in an N-dimensional array as though they were all values in a 1D array or a list or whatever, but then have the names/indices of the elements returned by the argSort be their N-dimensional coordinates as a 1D array/list.

Is this issue currently blocking your progress?

No.

Code Sample

Using bad syntax I expect something like this not to fail:

assert (argSort ([4, 3; 2, 1]) == [(1,1), (1,0), (0,1), (0,0)]);