I want to push the same key for multiple nodes, this key I want to set it's priority to date so when getting the data get recent first,
When I used the key for only one node I do like that
Reference.child("ch").push().setvalue(object,0-date.getTime);
then when retrieve data get recent
but now when I do this
string key=Reference.push().getkey();
then
Reference.child("ch").child(key).setvalue(object,0-date.getTime);
when retrieving with priority order not get the recent any help, please!!