SciPy

numpy.core.defchararray.chararray.argsort

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