Move view sorts into constructor