Rearrange links