localeCompare number fix
@@ -504,7 +504,13 @@
if (bb === undefined || bb === null) {
bb = '';
}
-
+
+ if ($.isNumeric(aa) && $.isNumeric(bb)) {
+ if (aa < bb)
+ return order * -1;
+ return order;
+ }
if (aa === bb) {
return 0;