Reorder strings