Add comments in the topological sort