core :: Iterator :: to_a
self
# Interate on `self` and build an array fun to_a: Array[E] do var res = new Array[E] while is_ok do res.add(item) next end finish return res end
redef fun to_a do return sorted_arr end