commento.js: reverse sorting algorithm

This commit is contained in:
Adhityaa Chandrasekar 2018-09-28 09:39:02 -04:00
parent 36d57914b2
commit ac9f896a22

View File

@ -588,7 +588,7 @@
}
cur.sort(function(a, b) {
return a.score - b.score;
return b.score - a.score;
});
var cards = create("div");