sort receipts based on date