add reorderGraph.m