To sort by Account Code:
  1. Go to the Format tab on the Balance Sheet
  2. Highlight Sort on the left
  3. In the Sort By box, select Account Code
  4. Then preview the report
To create a subtotal for each Account Code, change the Action drop down in the Sort By box to Subtotal.