Returns the index of the first element in the given array with the highest value according to the comparator.
Returns the index of the first element in the given array with the highest value according to the comparator.