I was trying to find a module that did this but I couldn't even find a module that did {min,max}imumBy!