export type SortType = 'RELEVANCE' | 'NEWEST_FIRST' | 'PRICE_ASCENDING' | 'PRICE_DESCENDING' | 'DISCOUNT' |
 'RATING' | 'NAME' | 'LENGTH_INCREASING' | 'LENGTH_DECREASING' | 'WIDTH_INCREASING' | 'WIDTH_DECREASING' |
 'HEIGHT_INCREASING' | 'HEIGHT_DECREASING' | 'DEPTH_INCREASING' | 'DEPTH_DECREASING' | 'VOLUME_INCREASING' |
 'VOLUME_DECREASING' | 'WEIGHT_INCREASING' | 'WEIGHT_DECREASING' | 'TITLE';

export type ContentSortType = 'RELEVANCE' | 'NEWEST_FIRST';

export interface Sort<T = SortType> {
  /** Which SortOption that is currently selected */
  selected: T;
  /** SortOptions to choose from */
  options: SortOption<T>[];
}

export interface SortOption<T = SortType> {
  /** Identifier for SortOption */
  id: T;
  /** Presentation text for SortOption */
  label: string;
}
