Rearranges sections