fixed binary search ordering for integer keys