As with standard HTML, to rearrange the contents within each area simply reorder the contents in the relevant section or twig file (content).
It is also possible to rearrange the areas of your layout. To do this, reorder the contents of your 'main' layout.