I wish the API guaranteed that values come in order so that SortMode.MIN could just return the first value it would find, and MAX would return the last without having to do `numValues` comparisons. The problem is scripts I guess but can't we fix it by buffering values and sorting them before the first call to nextValue? It would make the field data impls faster to consume.