alifestd_chronological_sort

alifestd_chronological_sort(phylogeny_df: DataFrame, how: str = 'origin_time', mutate: bool = False) DataFrame

Sort rows so all organisms appear in chronological order, default origin_time.

Input dataframe is not mutated by this operation unless mutate set True. If mutate set True, operation does not occur in place; still use return value to get transformed phylogeny dataframe.