Would it be simpler/more readable to do:
```javascript
return _.contains(SearchConstants.sort.OPTIONS, val) ? val : SearchConstants.sort.ASC;
```