This commit is contained in:
Barış Soner Uşaklı
2017-07-10 00:37:48 -04:00
parent 6485108dfd
commit 80ea9e9797

View File

@@ -430,6 +430,7 @@ module.exports = function (Topics) {
count: replyPids.length, count: replyPids.length,
timestampISO: replyPids.length ? utils.toISOString(pidMap[replyPids[0]].timestamp) : undefined, timestampISO: replyPids.length ? utils.toISOString(pidMap[replyPids[0]].timestamp) : undefined,
}; };
replyPids.sort(function (a, b) { replyPids.sort(function (a, b) {
return parseInt(a, 10) - parseInt(b, 10); return parseInt(a, 10) - parseInt(b, 10);
}); });