Searches sorted data by dividing the search range.