parent
e8fce56cd1
commit
6a77d42a4d
|
@ -148,9 +148,9 @@ sorttable = {
|
||||||
row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
|
row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
|
||||||
}
|
}
|
||||||
/* If you want a stable sort, uncomment the following line */
|
/* 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 */
|
/* and comment out this one */
|
||||||
row_array.sort(this.sorttable_sortfunction);
|
//row_array.sort(this.sorttable_sortfunction);
|
||||||
|
|
||||||
tb = this.sorttable_tbody;
|
tb = this.sorttable_tbody;
|
||||||
for (var j=0; j<row_array.length; j++) {
|
for (var j=0; j<row_array.length; j++) {
|
||||||
|
|
Loading…
Reference in New Issue