Sort button now reflects the chosen type of sorting