SciPy

numpy.core.defchararray.chararray.argsort

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

Returns the indices that would sort this array.

Refer to numpy.argsort for full documentation.

See also

numpy.argsort
equivalent function