Sorting list of questions and students