Added table sorting to tutors