change sort of question attributes