Refactor and sortable columns

Columns are now sortable by ascending and descending. Default is avg
desc.
Chevrons for the sort direction have been temporarily removed.
Ajax has not yet been implemented.
Commented out a lot of code that I might need again.