complete ascending order
complete binary search with duplicated values