documentcloud/underscore — pull request #910 by taka84u9 (2012-12-18 17:48:30+00:00)
Title: string starts with hyphen reverses _.sortBy

See [backbone#1968](https://github.com/documentcloud/backbone/pull/1968).

This PR enables `_.sortBy` to sort a collection in descending order by giving hyphen-starting string as 2nd argument.

```js
_.sortBy(['aaa', 'b', 'cc'], 'length'); //=> ['b', 'cc', 'aaa']
_.sortBy(['aaa', 'b', 'cc'], '-length'); //=> ['aaa', 'cc', 'b']
```