def sort(self, axis=0, ascending=True, kind='quicksort',
             na_position='last', inplace=True):
        warnings.warn("sort is deprecated, use sort_values(inplace=True) for "
                      "INPLACE sorting", FutureWarning, stacklevel=2)

        return self.sort_values(ascending=ascending, kind=kind,
                                na_position=na_position, inplace=inplace)
DEPRECATED: use :meth:`Series.sort_values(inplace=True)` for INPLACE
dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/Series.sort