Implemented PageRankOrderingMapper class for ordering output.