Firebase OrderByChild Order Is Not Correct
My Sample Data Code let users_ref = firebase_instance.database().ref('users'); let amount_of_data = 4; let limit_users_ref = users_ref.orderByChild('score').limitToL
Solution 1:
Your scores are strings. They should be numbers instead. Strings don't sort like numbers.
Post a Comment for "Firebase OrderByChild Order Is Not Correct"