Instead of changing the sort name in the controller, set a string/value pair in the view