SortableArray#each and some minor edits