Which is ordered by descending values. I want to extract the "name" of the number which is closest to 1, but above it. In that case I want to extract the name "2.69" or position 170 since the corresponding number is 1.0001292. The number at position 2.70 is 0.9968844 and thus too low.

How do I extract the position (or name) in a vector of descending values where the number is nearest the value 1.0, but above?