Add note about topological sort