Rearranging expense accounts in the chart

I am trying to rearrange expense accounts in my chart to different groupings and cannot figure out how to move accounts around in the income statement. Any resources to learn how?