Skip to content

HTML tables sorter from Canada

December 15, 2010

I’m very fascinated by one JavaScript library that I’ve found recently. The purpose of this library is very simple: Making  HTML tables sortable.

The performance of sorting a table using this JavaScript library is much better than other table sorting strategies (for example, AJAX+JSON queries to server side).
The quiz of this library is that it  uses the quicksort (makes O(nlogn) comparisons to sort n items) algorithm.

Links:

- Project HomePage: http://www.terrill.ca/sorting/
- JavaScript library: http://www.terrill.ca/sorting/TSorter_1.js
- The example: http://www.terrill.ca/sorting/table_sort_example.php

About these ads
One Comment leave one →
  1. danics permalink
    December 15, 2010 7:38 pm

    Amazing!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: