Swap replace order