SciPy

numpy.matrix.argsort

matrix.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
equivalent function

Previous topic

numpy.matrix.argpartition

Next topic

numpy.matrix.astype