sorted questions based on categories and tags