add optimized implementation of insert_sorted for array lists

fix cx_ll_insert_sorted_cmp_func not being thread local

implement optimized sorted insert for linked lists - resolves #415

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

mercurial