Yes, it's possible, carolyn7.
To sort the report, you can follow these steps:
Here's a sample screenshot for a visual reference:
You can also read this article for more custimisation in QuickBooks Online reports: Customise reports in QuickBooks Online.
I'm just a post away if you need more help with QuickBooks Online reports. Have a great day!