Rearrange Pipe Order in a Longitudinal Drawing