Sort array of questions