From 8775e7e652a5f239d3fd90dc456e33284d65855b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 25 Apr 2019 19:19:55 -0400 Subject: [PATCH] fix: node12 tests --- src/topics/tags.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);