apply binary search in cx_array_insert_sorted()

fix for empty arrays

(0) -300 -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial