Added the sorting method onto the self.indexPeople so that single group pages also take the sort method