Firebase leaderboard

I have already looked in several forums and tried several things and until now I am unable to make a leaderboard for money, xp, or level. If anyone knows how to do it, tell me the code.

Thank you: D

Maybe this could help you out?