Profit and loss has expenses at top and income down the bottom

I have no idea what has happened but. I opened a clients business and it had uncatorgrized accounts so I put in in come and edited sales and interest recived to income great but when I addes expenses and added everything else to expenses it went to the top and so my p&L is round the wrong way

Thats strange I just removed the business and started again thank goodness it was a newish company and had only a few entries in it. Anyway after that it was all right

Edit the groups and change their codes, which control order of listing.

Oh how silly of me that worked thanks.