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

2 lines
403 B
JavaScript

/*! © SpryMedia Ltd - datatables.net/license */
import $ from"jquery";import DataTable from"datatables.net";DataTable.intlOrder=function(e,t){var r;window.Intl&&(r=new Intl.Collator(e,t),delete(e=DataTable.ext.type).order["string-pre"],e.order["string-asc"]=r.compare,e.order["string-desc"]=function(e,t){return-1*r.compare(e,t)})},DataTable.ext.order.intl=DataTable.intlOrder;export default DataTable;