def order(self, inplace=False, ascending=True, na_position='last'):
        warn("order is deprecated, use sort_values(...)", FutureWarning,
             stacklevel=2)
        return self.sort_values(inplace=inplace, ascending=ascending,
                                na_position=na_position)
DEPRECATED: use :meth:`Categorical.sort_values`. That function
dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical.order