Add Digraph and Dag with Dag.Sort