moving BytesIterable to commons and making use of MapReduce-based sorting