I saved data in firebase with timestamp
But i am getting data unsorted
Can anyone tell me how i can sort data of firebase. I want latest data on top.
I saved data in firebase with timestamp
try this
this is show last to first so your latest data comes to top
I don’t want to show last to 1st . I want the data i send on firebase it appears on top of my list …its appearing in random order if it was appearing as in firebase then reverse list block would be helpful.
@ImranTariq
Here is the Cloud Firestore documentation how you can sort your data…
https://firebase.google.com/docs/firestore/query-data/order-limit-data
You’re missing a comma at the end of the second rule
Can you help me by writing a complete sorting rule ( sort by name )
What have you tried?
Check the image published above
have you tried this solution? because in image we can see a missing comma after Write: true
Still not working