Reverse the output from deps-topo-sort