Finally got commits in topological order. Next make the graph work.