topoLogicalSort