added tablesorting to category and location tables
added tablesorting to category and location tables - missed one file
code clean up