Implemented sorting to question list