

def order(self, return_indexer=False, ascending=True):
    '\n        Return sorted copy of Index\n\n        DEPRECATED: use :meth:`Index.sort_values`\n        '
    warnings.warn('order is deprecated, use sort_values(...)', FutureWarning, stacklevel=2)
    return self.sort_values(return_indexer=return_indexer, ascending=self)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.order/VarMisuse@44/102 `ascending`->`self`