export declare function sortByNumberFactory(propertyName: keyof TEntity): (a: TEntity, b: TEntity) => 0 | 1 | -1;