Implemented AJAX sorting functionality for the 3 tables. Removed PHP Sorting Functionality and unnecesary data from models and views