Implement some basic iterators on SortedArray