Reorder graphs