Skip to content

Commit e3f0705

Browse files
committed
comments
1 parent 06acd53 commit e3f0705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/sort/custom-sort-table-has-footer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function revertSortFunc(a, b, order) { // order is desc or asc
3737
return b.cost - a.cost;
3838
}
3939
}
40-
40+
/* custom function for string sorting */
4141
function sortStrings(a, b, order) {
4242
if (order === 'desc') {
4343
return a.name.toLowerCase().localeCompare(b.name.toLowerCase());

0 commit comments

Comments
 (0)