Fix some syntax errors in aggregation/mapReduce.cfm

Fix sort syntax, fix missing comma, remove unused variables in map function.