topo sort reminder