Please extend the API to allow for filtering and sorting of records to reduce the amount of API calls for pagination and client side filtering