numpy.ndarray.argsort — NumPy v2.2 Manual (original) (raw)

method

ndarray.argsort(axis=-1, kind=None, order=None)#

Returns the indices that would sort this array.

Refer to numpy.argsort for full documentation.