Add values to firebase Realtime database in list
In my firebase realtime database i have list of integers and the key of these values is integer too when i add new value to the list it doesn't add the new value to the last of this list (firebase sort this list From the smallest to the largest) so how can i forbid this method, as the new values are always added to the end of the list without the Firebase arranging them.
this is picture of my list:
https://i.stack.imgur.com/IAh4v.jpg▾
if i add 0 as an...