sort-array-by (npm): Takes an array and sorts it by the values returned from the given function.
Keywords: sort|sortBy|sort-by|order|array|function|compare|browser