diegohaz/querymen

Sort for referenced documents

vinaybedre opened this issue · 0 comments

If I have a model like below:

Authors:[
{_id:1
name:'Author 1'
}]

Books:[
{_id:1, authors:[1,2]
]

How can I perform sort on books.authors.name? Is it possible?