Updated sort view and controller