Select text for marks. Place the cursor in a section to rearrange it. Group and ungroup preserve the source inside.