diff --git a/src/topics/tags.js b/src/topics/tags.js index 2be85a2c73..29d8d047d6 100644 --- a/src/topics/tags.js +++ b/src/topics/tags.js @@ -424,9 +424,7 @@ module.exports = function (Topics) { } } - matches = matches.sort(function (a, b) { - return a > b; - }); + matches.sort(); next(null, { matches: matches }); }, ], callback);