Gets the minimum and maximum value from an array list.
Returns the min an max within a MinMax object. See MinMax
The list where to do the search.