sort.binarySearch: fix integer underflow (#4980)

When the key was smaller than any value in the array, an error was
ocurring with the mid being zero and having 1 subtracted from it.
447dc2bb90Yuri Pieters committed on 4/9/2020, 12:58:57 AMparentc45ba49
1 file changedLine totals unavailable