Firebase get datas wrong order

Hello, everybody…i need some help about firebase data. I used firebase to store chat list, and while i get data back to makeroid…datas cannot order right. It receive random order…:frowning: some one can tellme what happend with my firebase? Thanks.

Firebase stores data in alphabetical order.

How to Sort order from old to new?

You can’t. Firebase doesn’t store a timestamp of the data. You could however sort by system time (and of course store it in the data itself).

Thanks for response. I’ll try again…