Sort

Letting a sort parameter be passed in to the API.

The search terms object can be either a hash {query: 'foo', sortType: 'bar', categories: 'baz'} or a string