pouchdb/mapreduce — pull request #115 by neojski (2014-04-15 17:39:40+00:00)
Title: (#112) - don't serialize emitted value

The solution here is to sort in memory before insertion but keep them in order by having additional pos value.

Alternative solution would be: don't add that pos value but sort on read.