Started to add functionality to sort the tables alphabetically