Skip to content

Commit

Permalink
fixed weird sorting edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
ritch committed Nov 13, 2012
1 parent d727bcc commit be5bf42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/info.js
Expand Up @@ -114,7 +114,7 @@ Info.prototype.children = function (excludeIndex) {
});
}

result = result.sort();
result = result.sort(function (a, b) { return a.title() > b.title() ? 1 : -1; });
result = result.sort(sort);

return result;
Expand Down

0 comments on commit be5bf42

Please sign in to comment.