Rearranges content