pandas.Series.sort

Series.sort(axis=0, kind='quicksort', order=None, ascending=True)

Sort values and index labels by value, in place. For compatibility with ndarray API. No return value

Parameters :

axis : int (can only be zero)

kind : {‘mergesort’, ‘quicksort’, ‘heapsort’}, default ‘quicksort’

Choice of sorting algorithm. See np.sort for more information. ‘mergesort’ is the only stable algorithm

order : ignored

ascending : boolean, default True

Sort ascending. Passing False sorts descending

See also

Series.order