PDA

View Full Version : [CLOSED] Incorrect russian sorting in TreeSorter()



Demjanich
11 Nov 2010, 2:27 AM
Hi!

In russian language we have "?" letter. It's utf (\u0451 / U+0401) code. But in alfabet order it set between "?" (\u0435 / U+0415) and "?" (\u0436 / U+0416). In result of its utf code numbers we have wrong alfabet sorting for "?" letter in TreeSorter().
May be the same problem is in other Extjs components, like grids etc.

Can you fix it?

Condor
11 Nov 2010, 5:15 AM
Ext can't fix this; it just uses standard javascript string compare.

The only way to work around this is to write your own sortType functions.