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