This is probably cleaner/more concise:

```ruby
options.merge!(params.slice(:sort_by, :sort_order))
```