editing mapper/reducer and adding sorted data.