def argsort(self, *args, **kwargs):
nv.validate_argsort(args, kwargs)<EOL>if self._step > <NUM_LIT:0>:<EOL><INDENT>return np.arange(len(self))<EOL><DEDENT>else:<EOL><INDENT>return np.arange(len(self) - <NUM_LIT:1>, -<NUM_LIT:1>, -<NUM_LIT:1>)<EOL><DEDENT>
Returns the indices that would sort the index and its
underlying data.

Returns
-------
argsorted : numpy array

See Also
--------
numpy.ndarray.argsort