declare function sortArrayByKey(arr: T[], keyword: string, key?: string): T[]; export default sortArrayByKey;