How to group information on the Statement of Activities
On the Configure Report page, mark the Print Sub-Headings and Sub-Totals box.
The output will be determined by the set up of your accounts and how you define the group selections and sorting.
Updated