Rearrange sections of instructions