Series.sort_index()
pandas.Series.sort_index
-
Series.sort_index(axis=0, level=None, ascending=True, inplace=False, sort_remaining=True)
-
Sort object by labels (along an axis)
Parameters: axis : index to direct sorting
level : int or level name or list of ints or list of level names
if not None, sort on values in specified index level(s)
ascending : boolean, default True
Sort ascending vs. descending
inplace : bool
if True, perform operation in-place
kind : {
quicksort
,mergesort
,heapsort
}Choic