Extracts ordered category path segments from a query's CategoryPath or fallback Category.
CategoryPath
Category
Extracts ordered category path segments from a query's
CategoryPathor fallbackCategory.