Change graph order