Added sorting to the student repositories