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.
Y
Yuri Pieters committed
447dc2bb9011078e80acbe3f51135ff1ad2bf163
Parent: c45ba49