Problem of the order of dynamic coponents

Here are the codes I have

and this is the results in firebase


so I have a leaderboard(made with dynamic components), the users scores will be shown there. But the scores are not in the right order (shown in the firebase above)

how can I make the total point into order(from large to small), and what is the best way to solve.
thx
Kingsley

Sort the data by total points before applying to your dynamic components / leaderboard.

1 Like

Or use..., example was provided via pm

1 Like

Here's how to do it in CloudDB, same idea for other tag/value databases:

1 Like

ya thx ABG made this topic public ...

Things I don't do:

  • private work
  • artsy fartsy
  • extensions
  • work for wheedle
  • things I don't understand
1 Like

ok, I understand

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.