export interface SortArrayProps { /** The array to sort */ array: any; /** Sort order */ order?: 'asc' | 'desc'; /** If sorting an array of objects, the property key to sort by (e.g., 'price' or 'date') */ sortKey?: string; /** What to return if it fails */ fallback?: any[]; } export default function SortArray({ array, order, sortKey, fallback }: SortArrayProps): any[];