Sort order of Invoices when printing

Does anyone know if there is a way to sort the invoices when printing from the AR Invoice Group?

It looks like they print in order by Invoice number and there’s no logic to how that number is assigned. When I pull in a selection of invoices, they are given Invoice numbers but they aren’t assigned in any particular order as far as i can tell. I’ve tried sorting the list in Packing Slip Browse by order number, but that didn’t help. I’ve tried sorting the invoices by order number in the Invoice Group, but that didn’t help.

We’d like to sort by Sales Order Number.

For SSRS report, modify the InvoiceNum group to sort by [OrderNum].