declare enum SortDirection {
    ASC = "ASC",
    DESC = "DESC"
}
declare function sortByDate<T>(a: T, b: T, key: keyof T, direction?: SortDirection): 1 | 0 | -1;

export { SortDirection, sortByDate };
