Because it's not choosing numeric as the sorter for that column I'd wager. '.00' may be triggering it to sort alphabetically instead. set the parser to be numeric explicitly:
<script type="text/javascript"> $(document).ready(function() { $(".tablesorter").tablesorter({ sortList: [[1,0]], headers: 1 { sorter: 'numeric' } }); }); </script> I'm doing this from memory so I can't guarantee that's the right syntax but hopefully it helps. I'd recommend using '0.00' instead of '.00' though. stephen On Fri, Oct 3, 2008 at 04:43, flopp <[EMAIL PROTECTED]> wrote: > > > I have installed the tablesorter plugin. > > I use the following code to initialize it: > <script type="text/javascript"> > $(document).ready(function() { $(".tablesorter").tablesorter( {sortList: > [[1,0]]} ); } ); > </script> > > So it is going to sort the second field ("Navn"). > But when I click "Antall", 120 comes under 1102. > Why? See attachment http://www.nabble.com/file/p19796169/tablesorter.JPG > tablesorter.JPG > -- > View this message in context: > http://www.nabble.com/tablesorter-wrong-ordering-tp19796169s27240p19796169.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > >