Sorting of transactions by date in invoice