Use native methods for finding max and min values in table