Allow the 'sort' section of the datastore API to work with quoted and unquoted fields. Patch submitted to ckan as #1961