ndarray.argsort(axis=-1, kind='quicksort', order=None)
Returns the indices that would sort this array.
Refer to numpy.argsort
for full documentation.
See also
numpy.argsort
© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.ndarray.argsort.html