Thanks I'll look into this Erny
On Dec 8, 6:54 pm, aquaone <aqua...@gmail.com> wrote: > It doesn't expect numbers to have commas. You need to use your own parser. > e.g. > > // custom parser > $.tablesorter.addParser({ > id: "commaNum", > is: function(s) { > return /^[\d-]?[\d,]*(\.\d+)?$/.test(s); > > }, > format: function(s) { > return s.replace(/,/g,''); > }, > type: 'numeric' > }); > > On Tue, Dec 8, 2009 at 13:36, Madog <ernest.grend...@gmail.com> wrote: > > Hi > > I am getting odd sorts from tablesorter with commas in the numbers > > 11,466 > > 11,466 > > 3,673 > > 3,690 > > 4,349 > > > for example, as will as grouping if some of the numbers in the column > > have a comma and other do not. > > Maybe the same type of grouping from the 11,466 and 3,673 not sure?? > > > Does anyone know of a work around for this type of behave?? > > Thx > > Erny > > > ernest.grend...@gmail.com