Use proper collation fun for reduce grouping

We had been using raw collation for grouping keys in a MR view
regardless of the overall collation setting for the view. This patch
defers the construction of the grouping function to the btree code,
where we have access to the correct sorting function.

COUCHDB-1805
1 file changed
tree: 9dacddf9b0932bc25c42a766a8b1f47b115ea3b5
  1. include/
  2. priv/
  3. src/
  4. test/
  5. LICENSE