I have a no. of users selecting a "category" of topic they like.
I'm trying to get the most popular category, since its dynamic.
In SQL, you could use something like ORDER BY value_occurrence
.
This is how the database looks like:
How would I accomplish this using firestore?