Less chitty wordsort changes (it works)

Also I omitted print in returnOrder in DirectedGraphPt2