To sort the invoices based on ascending and descending order of the dates please follow the below steps.
Please go to invoices >> Select the required date >> Click on sort option present on the date.