Hacker News new | ask | show | jobs
by nitrogen 4643 days ago
Topographical sort is actually what I use, storing the results of the sort in a run list as you describe. The tricky part was dealing with cycles in the graph.