diff --git a/frontend/js/commento.js b/frontend/js/commento.js index 06feb0a..89a22e1 100644 --- a/frontend/js/commento.js +++ b/frontend/js/commento.js @@ -587,6 +587,10 @@ return null; } + cur.sort(function(a, b) { + return a.score - b.score; + }); + var cards = create("div"); cur.forEach(function(comment) { var commenter = commenters[comment.commenterHex];