Question about sorting DEP

I downloaded the DEP template from the white paper section and have been giving it a whirl in Google Sheets. I really like it as a template, but I’m having trouble with sorting. In the past if I had a list of donors, I would have sorted them by their giving last financial year. But if I do that in Column AE (Last year’s giving), it also sorts the columns with formulas (e.g. AF and AG, the cash flow columns). But given those formulas aren’t meant to be sorted (because they’re meant to do calculations on the data in that row), it breaks all the data.

Has anyone else encountered this? Or do you just not do any sorting?