This is my database structure:
- Feed
_ Parent key 1:
- key 1:
_ time_stamp: 3
- key 2:
_ time_stamp: 4
_ Parent key 2:
- key 1:
_ time_stamp: 2
- key 2:
_ time_stamp: 1
My problem is when i'm using
Query query = mFeed.child(parent).orderByChild("time_stamp")
what i get is time_stamp ordering only on there parent key as this order
3 - 4 - 1 - 2
The order that i want to get is this :
1 - 2 - 3 - 4
Please Help !!!