First cut at implementing $push-$each-$sort.