Search in sorted array.