export declare function sortObject = Record>(obj: T, compareFn?: (a: string, b: string) => number): T; export declare function sortObjWithOrder = Record>(obj: T, order: string[]): T; export declare function sortWithOrder(obj: string[], order: string[]): string[]; export declare const reverseSortString: (a: string, b: string) => 1 | 0 | -1;