Hello everyone.
I am currently making an app where people can create posts.
Other users have the ability to like posts.
When a post document is created, the posted_date is stored in the document, and when a other user likes the post, the user_ref is stored in liked_by_users_ref.
How would I go about ordering the listview by example, "most liked" or "most recent", without creating multiple listviews, since I don't want to query the same documents multiple times on the same page 😄