Rearrange quotes