Rearrange in text