Batch Invoice Sorting

I need to be able to sort our invoices in batch by customer account, I’ve set up the sorting in the batch submission but it still prints in sales id order, as anyone else experience this issue? and what the resolution may be…thank you