Returned JSON from getUsersRecords to the previous format and added order by date