Table.sort: problem with localized sorting #258

Closed
testeria opened this Issue Jul 2, 2011 · 0 comments

Comments

Projects
None yet
2 participants

testeria commented Jul 2, 2011

String sorting is not working properly for some languages, fe:
http://jsfiddle.net/jYsks/1/

In polish 'ń' goes after 'n', so it should be:

"koń", "kos", "kot".

Instead it is

"kos", "kot", "koń".

Best solution would be acceptance of additional function for parser object, then You could sort by any function user need (localized string sort, some special document number format sort, etc.).
https://github.com/testeria/mootools-more/blob/patch-1/Source/Interface/HtmlTable.Sort.js

arian closed this in #1271 Jun 23, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment