This MapReduce code finds the top n values of column in ascending or descending order.