Basically I have played with Firebase for the past week, and I recently stumbled upon the \'queryOrderedByChild()\' that as far as I know - allows you to sort data in fireba
If you using order by child you going to order your id you no going to touch it's value.
id
Then maybe you have to try something like