Hello there, @MarshallPB.
Thanks for posting here in the Community.
Right now, there isn't an option to create a report to sort GL codes in QuickBooks Desktop. As a workaround, you can export the report to Excel and sort it from there by clicking the Export icon. Let me guide you on how.
- From the General Ledger report, click the Excel icon.
- From the Excel icon, scroll down and choose to Create New Worksheet.

I appreciate you for raising this. Your preference of having an option to sort General Ledger accounts is being noted so our product developers may consider this for future product enhancements.
You can check out this article for future reference in case you want to learn more about the custom summary and custom transaction detail reports in QuickBooks Desktop: How to Customize Reports in QuickBooks Desktop.
Reach out to me if you need further assistance, I’m always here to help. Take care and have a great day!