Grouping and Summing Invoices and Sort Sheet by Village

I would like to group the Invoice printout and the Sorting Sheet printout by Village. This would include a total by village. So for Invoices:
Village 1 Total = $123.45
-John Smith Invoice
-Jane Smith Invoice
Village 2 Total =$678.90
-Jack Smith Invoice
-Sue Smith Invoice
And for sorting:
Item 123
- Village 1 - 10 EA
-- John Smith 8 EA
-- Jane Smith 2 EA
-Village 2 - 15 EA
-- Jack Smith 7 EA
-- Sue Smith 8 EA
Item 456
...
Would anyone else find this helpful? How much of this could be done with CSS?
Village 1 Total = $123.45
-John Smith Invoice
-Jane Smith Invoice
Village 2 Total =$678.90
-Jack Smith Invoice
-Sue Smith Invoice
And for sorting:
Item 123
- Village 1 - 10 EA
-- John Smith 8 EA
-- Jane Smith 2 EA
-Village 2 - 15 EA
-- Jack Smith 7 EA
-- Sue Smith 8 EA
Item 456
...
Would anyone else find this helpful? How much of this could be done with CSS?