added tags and categories to search, attempting to display selected sort order on archive