bach.Series.sort_index
sort_index
(*, ascending=True)Sort this Series by its index. Returns a new instance and does not modify the instance it is called on.
Parameters
ascending
(Union[List[bool], bool]) – either a bool indicating whether to sort ascending or descending, or a list of
bools indicating ascending/descending for each of the index levels/columns.