in the default sortStrategies object for string - I've added a simple assert to string:
try {
var result = (str1+"").localeCompare(str2+"");
} catch(e) {
return 0;
}
...as if a field value was entirely numeric it threw a localeCompare is not a function error.
Regards
in the default sortStrategies object for string - I've added a simple assert to string:
try {
var result = (str1+"").localeCompare(str2+"");
} catch(e) {
return 0;
}
...as if a field value was entirely numeric it threw a localeCompare is not a function error.
Regards