

def sortlevel(self, level=None, ascending=True, sort_remaining=None):
    '\n\n        For internal compatibility with with the Index API\n\n        Sort the Index. This is for compat with MultiIndex\n\n        Parameters\n        ----------\n        ascending : boolean, default True\n            False to sort in descending order\n\n        level, sort_remaining are compat parameters\n\n        Returns\n        -------\n        sorted_index : Index\n        '
    return self.sort_values(return_indexer=True, ascending=ascending)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.sortlevel/original