Sort in dhtmlxGrid

Hi team

There are some records like this in my grid.

Initial sort is as follows



ColumnA ColumnB

TEST3

中村

東京

TEST Group



when I click ColumnB twice the sort is as follows



ColumnA ColumnB

TEST3

東京

中村

TEST Group



If I click ColumnB several times (Even) , The results are inconsistent with the original.



Thanks.

By default grid uses native sorting functionality of javascript. While fast it doesn’t preserve initial order of rows.
You can enable desired mode by using

grid.enableStableSorting(true);