lexsort#

astropy.utils.masked.function_helpers.lexsort(keys, axis=-1)[source]#

Perform an indirect stable sort using a sequence of keys.

Like numpy.lexsort but for possibly masked keys. Masked values are sorted towards the end for each key.