pandas.Index.argsort

Index.argsort(*args, **kwargs)[source]

Returns the indices that would sort the index and its underlying data.

Returns:argsorted : numpy array

See also

numpy.ndarray.argsort