Add function on table headers to allow user to choose the column to sort on