How to use locale for Datatable sort order

I’m wondering if there is a way to get a correct sort order for my locale (de-DE).
As we use the char “Ä” in german an it is sorted as the same with the char “A” it is very problematic vor me when it is sorted down at the end of the table. Do I have to write a own sort function to order the special chars correcly or is there a built in way to use the specified locale for this?

https://docs.webix.com/desktop__filter_sort.html#addingcustomsortingtype
you need to implement your own function or (on your own risk) override default string sorting

webix.DataStore.prototype.sorting.as.locale_string = function(a, b){
    a = (a==null)?"":a;
    return String.prototype.localeCompare.call(a, b);
}

you have to redefine sort for Datastore:

webix.DataStore.prototype.sorting.as.string = function(a,b){return a.localeCompare(b);}