powered by
Provide an acyclic ordering (i.e., a topological sort).
order_acyclic(families)
Beng-Jensen and Gutin, 2007, page 14.