add sortByPicture() method in AllQuestionsController