I am wondering if there exists a sorting function in the reduce phase, which will sort all the keys in ascending order, and output as a list?

My original function is a point on a graph, and the mapping function does some kind of a transformation to the y axis, and the key/value pairs is represented as the x-axis/transformed y value, and I would like my reducing function to return a sorted list, which includes all the transformation with ascending x value...

could someone please tell me if it is possible?

yu-yang

Reply via email to