Hi,
ah, ok. Now I understand. This is known issue in JavaScript, and in the external DataTables JS library, see https://datatables.net/forums/discussion/34742/order-datatable-with-accents
You could therefore install the TablePress Extension from https://tablepress.org/extensions/datatables-sorting-plugins/
Then, add the JavaScript code
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"accents-asc" : function (s1, s2) {
return s1.localeCompare(s2);
},
"accents-desc" : function (s1, s2) {
return s2.localeCompare(s1);
}
} );
to the end of the two files
jquery.datatables.sorting-plugins.js
jquery.datatables.sorting-plugins.min.js
Finally, add this to the “Custom Commands” text field on the “Edit” screen of your table:
"columnDefs": [ { "type": "accents", "targets": [ 2 ] } ]
Regards,
Tobias