SortedArray#map
Proc and lambda :)