Handsontable - 数字列类型

Handsontable - numeric columns type

为什么当我将列类型设置为 numeric 时,table 无法以正确的方式排序。 它是这样做的:

我需要设置什么格式?

编辑

问题已解决。

我的数据集中有字符串。当我解析为浮动时,它现在正在工作。

问题已解决。

我的数据是字符串。将其解析为 float/integer 后,它开始工作了。

@kumar_harsh That's because your data is string and not number, so "159" comes before "59" (same as "APPLE" comes before "POCKET").