sorted the persons array by the last name
added a separate section for teachers