Rearrange text