@unction/sortBy MapperFunctionType<A, B> => Array => Array Sorts an array by a given computer function. sortBy(({id}) => id)([{id: 3}, {id: 1}, {id: 2}]) // [{id: 1}, {id: 2}, {id: 3}]