Tablesorter is a project mainly written in JavaScript, it's free.
strip down tablesorter.googlecode.com
404: Not Found