apply binary search in cx_array_insert_sorted()

fix for empty arrays

fix documentation

also add a binary search for the supremum

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

mercurial