diff --git a/src/groups.js b/src/groups.js index e94e9d46f9..0645fc55ac 100644 --- a/src/groups.js +++ b/src/groups.js @@ -1089,7 +1089,7 @@ var async = require('async'), case 'alpha': // intentional fall-through default: groups = groups.sort(function(a, b) { - return a.slug > b.slug; + return a.slug > b.slug ? 1 : -1; }); }