thanks, however tried:
...
sortType: function(rowData1, rowData2, dataIndx){
//compare rowData1[dataIndx] and rowData2[dataIndx]
var c1 = rowData1[dataIndx],
c2 = rowData2[dataIndx]
//c1 = $.trim(val1).length,
//c2 = $.trim(val2).length;
if (c1 > c2) {
return 1;
}
else if (c1 < c2) {
return -1;
}
else {
return 0;
}
but can't get it to work...im not sure I understand how to implement it...