Hello,

In my GridPanel i have a TEXT column which has empty String as well as decimal values.

On doing Sorting, the below code considers the priority of empty string and zero as same. (so i am getting incorrect result).

Code:
    asFloat : function(s) {
        var val = parseFloat(String(s).replace(/,/g, ""));
        return isNaN(val) ? 0 : val;
    }
so i changed the code as

Code:
    asFloat : function(s) {
        var val = parseFloat(String(s).replace(/,/g, ""));
        return isNaN(val) ? -9999 : val;
    }
please tell the logic is correct to change the priority of NAN values.