pandas 0.8.0 documentation

pandas.Series.sort_index

Series.sort_index(ascending=True)

Sort object by labels (along an axis)

Parameters :

ascending : boolean, default True

Sort ascending vs. descending

Returns :

sorted_obj : Series