/** * An interface representing a single type of sort that can be applied to a product index. * Common sorts are price (high-low and low-high), rating, and popularity. */ export interface SortOption { /** * A unique identifier for the sorting option. * * @example 'best-matches' */ id: string; /** * A human-readable label for the sorting option. * * @example 'Best Matches' */ label: string; /** * Whether this option is currently selected. */ isSelected: boolean; }