edited comments in sort. adding non-mapr version of count words