docs/_static/websupport.js
function sortComments(comments) {
    comments.sort(comp);
    $.each(comments, function() {
      this.children = sortComments(this.children);
    });
    return comments;
  }
function sortComments(comments) {
    comments.sort(comp);
    $.each(comments, function() {
      this.children = sortComments(this.children);
    });
    return comments;
  }
function sortComments ( comments ) { comments . sort ( comp ) ; $ . each ( comments , function ( ) { this . children = sortComments ( this . children ) ; } ) ; return comments ; }
Recursively sort a tree of comments using the comp comparator.
Recursively sort a tree of comments using the comp comparator .