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