Change the order of the replacement.