Sort "Points" value in Firebase Database

I’m having a reward app connected to firebase database, and I would like to sort the data in the list by “Points” value. For example, the user with highest amount points will be on the top of the list.

How to do this?

Thanks a lot in advance!

You can use [Discontinued] ListAddon Extension

I have changed the category to #discuss

First get all the points list on a global variable and connect it with extension which supports bubble sort the list.

IMG_20210429_120313

Not like this… show your firebase