sorting results by post type, advanced search page