Contains all the actions for the sort view.