You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/sorting/Case-Sensitive.min.mjs

2 lines
293 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.ext.order["case-sensitive-asc"]=function(e,a){return e<a?-1:a<e?1:0},DataTable.ext.order["case-sensitive-desc"]=function(e,a){return a<e?-1:e<a?1:0};export default DataTable;