diff options
-rw-r--r-- | clang/utils/sorttable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/utils/sorttable.js b/clang/utils/sorttable.js index 25bccb2b6b9..4352d3be0a5 100644 --- a/clang/utils/sorttable.js +++ b/clang/utils/sorttable.js @@ -148,9 +148,9 @@ sorttable = { row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]]; } /* If you want a stable sort, uncomment the following line */ - //sorttable.shaker_sort(row_array, this.sorttable_sortfunction); + sorttable.shaker_sort(row_array, this.sorttable_sortfunction); /* and comment out this one */ - row_array.sort(this.sorttable_sortfunction); + //row_array.sort(this.sorttable_sortfunction); tb = this.sorttable_tbody; for (var j=0; j<row_array.length; j++) { |