iterator

Sort all values by the provided comparator and return an iterator over the sorted values