Removed topological sort methods (we have depth labeling)