How to sort the invoice serial number in ascending/descending order of the transaction sales report?

Kindly go to the reports >> Click transaction report >> Click on sales >> Click on three dots of serial number column >> Select sort.