Add favorites or listenings ordering to track endpoint
What is the problem you are facing?
As part of !1309 (merged), it has been suggested that we add the ability to order tracks by the number of favorites they have received so that we can produce a list in order of popularity. Another suggestion might be to order tracks by the number of listens they have received.
What are the possible drawbacks or issues with the requested changes?
There needs to be a discussion about whether this fits with the app's mission. Listenings and favorites are accessible on a per-user context currently so there would need to be a new model to support storing this aggregate data.
Context
This feature is common in other music services such as Spotify, Apple music, Amazon music etc. It would help with some of the design elements mentioned on #1235 (closed).