Long time no see! I’m still making improvements on a quiz app that I’ve started.
For now, users have a score, and I’m displaying a ranking in a custom list filtering users based on their scores in a decreasing order.
I now would like to display, either in this list or on the user’s profile the position of each user ex: 23rd or 247th player.
I already assume that the denominator will be the total number of users but I’m stuck for :
- comparing all scores / filter them in a decreasing order
- display the player’s position
Would be very grateful for some suggestions!