bach.Series.sort_by_series
sort_by_series
(by, *, ascending=True)Sort this Series by other Series that have the same base node as this Series. Returns a new instance and does not actually modify the instance it is called on.
Parameters
by
(List[bach.series.series.Series]) – list of Series to sort by.ascending
(Union[bool, List[bool]]) – Whether to sort ascending (True) or descending (False)