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/chinese-string.min.mjs

2 lines
320 B
JavaScript

/*! © SpryMedia Ltd, Patrik Lindström - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.ext.order["chinese-string-asc"]=function(e,a){return e.localeCompare(a)},DataTable.ext.order["chinese-string-desc"]=function(e,a){return a.localeCompare(e)};export default DataTable;