Stuart Langridge's javascript for table sorting. Distributed under MIT license.