Sort updated records from the API.