declare function ranking<T = any>(arr: T[], compFn: (a: T, b: T) => boolean): number[];

export { ranking };
