Hi, I think that's a bug. The data are generated well in decending order, such as 54, 31, 0, No data. But, the order is 0, No data, 31, 54 in acending order. Am I right?
On Nov 24, 9:51 am, Carpii <[EMAIL PROTECTED]> wrote: > On Nov 22, 10:24 am,hyon<[EMAIL PROTECTED]> wrote: > > > Hi, > > > When desc sorting, it generated 1.5, 0, and "No data~~", but when asc > > order, it generated 0, "No Data~~", 1.5. > > It sounds like it is evaluating all types as numerics, and so "No > Data" is being interpreted as 0 > Im not familiar with tablesorter, but Im guessing it has a comparison > function which compares two values. > You could probably add a little code to make sure they are numerics > before comparing them, or maybe interpret any non-numerics as -1 > instead of 0?