alifestd_topological_sort_polars

alifestd_topological_sort_polars(phylogeny_df: DataFrame) DataFrame

Sort rows so all organisms follow members of their ancestor_id.

Uses contiguous id fast path when possible.