How order a view result by reduced value? CouchDB
- by Lucas Renan
Can I order the result of a view by the value, returned by reduced?
{
"rows": [
{"key":"bob","value":2},
{"key":"john","value":3},
{"key":"zztop","value":1}
]
}
I wanna a result like this:
{
"rows": [
{"key":"zztop","value":1},
{"key":"bob","value":2},
{"key":"john","value":3}
]
}