search in sorted array2