is your EmpNum a numeric value ? does it have any non-numeric characters in it? if it has any non-numeric chars, then that's the reason. if it is only numeric values, then your model should return it as a int, float, decimal and your sorter shouldn't be a problem... if this continues, then you may need to parse into the correct numeric value in order be be able to sort your EmpNum values. an alternative would be to use the sort function in JavaScript hope this helps
↧