Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-sort-group'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Feb 13, 2015
2 parents ffedcf0 + e506be0 commit 9345e70
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 172 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"url": "https://twitter.com/pascalduez"
}
],
"version": "2.0.6",
"version": "2.0.7",
"license": {
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/sorter.js
Expand Up @@ -4,7 +4,7 @@
*/
export default function sort(data) {
return data.sort((a, b) => {
return compare(a.group[0][0].toLowerCase(), b.group[0][0].toLowerCase()) ||
return compare(a.group[0].toLowerCase(), b.group[0].toLowerCase()) ||
compare(a.file.path, b.file.path) ||
compare(a.context.line.start, b.context.line.start);
});
Expand Down

0 comments on commit 9345e70

Please sign in to comment.