Columns.sortable
configurationcolumns.sortable
Boolean|ObjectDefault: true
columns.sortable.compare
FunctionA JavaScript function for comparing the values.
- If the first argument is less than the second one, returns
-1. - If both arguments are the same, returns
0. - If the first argument is greater than the second one, returns
+1.