minimumBy package:foldl

Computes the minimum element with respect to the given comparison function
Computes the minimum element with respect to the given comparison function