Corrected mistake in sort people. Nil class error because people variable was not initialized.