Why binary search needs order

How can one comparison rule out half the possibilities?

Adapt this plan

Keep only the interval that can contain the target.

Indices start at 0

The outlined cell is the current comparison. Faded cells have been ruled out.

Check the explanation

The middle value is smaller than the target. What is the next lower bound?

A sorted list of distinct integers. Each step displays one comparison. Array indices start at zero.