Currently we only support sorting by a single property.
We may want to order by multiple columns in SQL. For example, when the user chooses to sort by rating, we can use usefulVote as the second order by column to prevent from ranking 5 star bot reviews first.
Currently we only support sorting by a single property.
We may want to order by multiple columns in SQL. For example, when the user chooses to sort by
rating
, we can useusefulVote
as the second order by column to prevent from ranking 5 star bot reviews first.