Efficient Analytics on Ordered Datasets using MapReduce