lexographically  smallest topo sort