That `defaultSortField` argument is actually only used if no explicit sort field is passed as a parameter. So that 'name' field is just the default, and any 'sort' parameter passed in `params` will override that.