Model
Options
Magento\PageBuilder\Model\Catalog\Sorting\Options
What it does
This class provides sorting options for catalog products in Page Builder as a standardized array format for dropdowns and select fields.
Developers use this when they need to populate UI components with available product sorting methods (like price, name, newest) in the Page Builder interface.
Public Methods
- toOptionArray()