Series.order()

pandas.Series.order

Series.order(na_last=None, ascending=True, kind='quicksort', na_position='last', inplace=False)

DEPRECATED: use Series.sort_values()

Sorts Series object, by value, maintaining index-value link. This will return a new Series by default. Series.sort is the equivalent but as an inplace method.

Parameters:

na_last : boolean (optional, default=True)–DEPRECATED; use na_position

Put NaN’s at beginning or end

ascending : boolean, default True

Sort ascen