declare function sort<T = any>(arr: T[], cmpFn?: (a: T, b: T) => number): T[];
export default sort;
