// @flow

export default function sortBy<T, U>(sorter: (_: T) => U, list: T[]): T[]
