Code Explainers
type SortDirection = "asc" | "desc"; interface SortKey<T> { selector: (row: T) => string | number | Date | null | undefined;