Closed aaronholsonege closed 13 years ago
There is an issue with the sort method when multiple keys are specified and one of them has a desc flag ('-column').
Here is an example: http://jsfiddle.net/tFrGu/
I found changing line 715 from:
sorted = sorted.concat(records);
to:
sorted = (desc) ? records.concat(sorted) : sorted.concat(records);
fixes the issue.
There is an issue with the sort method when multiple keys are specified and one of them has a desc flag ('-column').
Here is an example: http://jsfiddle.net/tFrGu/
I found changing line 715 from:
to:
fixes the issue.