added sorting of answers