[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread MorningZ
Here's an example if my question above is answered by yes, that's correct http://paste.pocoo.org/show/90863/ Remove the console.log if you aren't using FireFox and Firebug (which you should be as a JavaScript developer!) On Nov 11, 8:33 am, MorningZ [EMAIL PROTECTED] wrote: Yuck, why patch

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread MorningZ
Yuck, why patch the js file when a custom parser could just be built? before that can happen though, something needs to be made more clear in the examples above, you pretty much are just ignoring letters for sorting purposes? On Nov 11, 2:51 am, Rodent of Unusual Size [EMAIL PROTECTED]

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread Rodent of Unusual Size
On Nov 11, 8:33 am, MorningZ [EMAIL PROTECTED] wrote: Yuck, why patch the js file when a custom parser could just be built? before that can happen though, something needs to be made more clear in the examples above, you pretty much are just ignoring letters for sorting purposes? Yup, as I

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread Mike Nichols
Yuck, why patch the js file when a custom parser could just be built? IIRC, the custom parser changed from being able to sort as a set to go an item by item comparison, which eliminated being able to do a natural sorting algorithm. This is a bit different from Rodent's requirements but remains

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread Rodent of Unusual Size
On Nov 11, 9:37 am, MorningZ [EMAIL PROTECTED] wrote: Here's an example if my question above is answered by yes, that's correct http://paste.pocoo.org/show/90863/ That only handles the aspect of ignoring the alpha characters. It does *not* appear to handle the issue of sorting 40125 before

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-10 Thread Mike Nichols
I submitted a patch a long time ago to do this that implemented a natural sorting algorithm for this but it would never get applied and I couldn't get a response..I assumed the project was light or dead. I can send you the patched .js i had if you like. On Nov 10, 9:56 pm, Rodent of Unusual

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-10 Thread Rodent of Unusual Size
On Nov 11, 12:29 am, Mike Nichols [EMAIL PROTECTED] wrote: I submitted a patch a long time ago to do this that implemented a natural sorting algorithm for this but it would never get applied and I couldn't get a response..I assumed the project was light or dead. I can send you the patched .js