Added method to change the sort

still need to update the display from within said method