1. Open the report parameters
2. Select the Format tab
3. Select the Sort option
4. Select Account Code from the Sort by drop-down menu