Which of the following options is not a required condition for binary search algorithm?