numpy.argsort(a, axis=-1, kind='quicksort', order=None)[source]

Returns the indices that would sort an array.