added sorting as one of the questions in second section