sortBy for javascript iterators