Fix sort functionality in Discover page
Closes #82 (closed)
FIX:
- create a subquery for selecting distinct versions
- apply orderBy in the outer query, so that distinct version will by sorted by
orderBy
field
Closes #82 (closed)
FIX:
orderBy
field