sorting classification on advanced search page