I found `SortedRange.contains`, but that just returns true/false. I want the index of the element, or the element itself.
I also found `SortedRange.equalRange`, but that sounds like it has an unreasonable amount of (admittedly O(1)) overhead for the (extremely common) case in which I am looking for only a single element, not a range.