String sorting in htmltable is not prepared for localization. Recently I had to do it and there was two options: - convert localized string to ascii sortable string - change the HTMLTable.Sort source (refactor) to allow including of different sorting functions.
I followed first path (http://jsfiddle.net/6a3Kq/) but I still believe the second one is better. It would only need small change in source (here: https://github.com/mootools/mootools-more/blob/master/Source/Interface/HtmlTable.Sort.js#L219): var sorter = parser.sorter; if (!sorter){ sorter = function(a, b){ if (a.value === b.value) return 0; return a.value > b.value ? 1 : -1; } } var data = this.parseData(parser).sort(sorter); What do You think?
