indexOfBestNotNaBy
Returns the index of the first element in this sequence that is not NA (null or NaN) and is better than all previous elements.
Returns -1 if there are no elements non-NA elements in this.
Parameters
isBetterThan
A function defining what it means for a value to be "better" than another.