Sort transactions by date for GET