Fix .jshintrc and the sorting test case