Sorting with leading zeros
Sorting with leading zeros
gjb01
Posts: 2Questions: 0Answers: 0
I use this great script to sort batting stats on a large website, but when sorting batting average, ".000" is considered greater than say ".250". I also noticed that ".085" is greater as well, which makes me wonder if leading zeros are the problem. Can anyone help?
This discussion has been closed.
Replies
http://datatables.net/ref#sType
you can also write your own custom sorting routines if you need something special that isn't supported by default