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
321 B
JavaScript

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