Sorting Tables in Tellico's HTML Export

I came across a blog post today about a new release of tablesorter, a plugin written for jQuery. tablesorter uses JavaScript to dynamically sort tables in HTML.

Since Tellico‘s HTML uses JS for table sorting as well, I figured I’d try this new code out. And it’s pretty fast. Granted, the jQuery code allows you to do all sorts of things, and sorting tables is just the tip of the iceberg. But it was interesting and fun to play with it. In the process, I decided to update some of the code used for table sorting.

If you want to check it out, here are three examples:

Now, I used one of Christian Bach’s CSS themes for the jQuery page, so it has a different font, color, etc. But you can click the header in any of those three files to sort the table. I haven’t actually done any benchmarking, though. That would be an obvious thing to do. It was a fun little activity for the evening and helped me relieve some stress…