Table sorter: update script, fix broken stuff. See Issue 1286.

git-svn-id: http://yourls.googlecode.com/svn@890 12232710-3e20-11de-b438-597f59cd7555