How to use the table header instead of an exposed dropdown to sort a Views table?
Go to Table Setting and check the column Sortable of the field (like the image) and then click the Apply button and Save your view.



You will see the link in the table header