Retrieving data from firebase while sorting it correctly
问题 I have this structure in my firebase database "metadata" : { "2017" : { "Februari" : { "-Kc3BF0V1iLgtnI65LuR" : { "date" : "2017-02-03T13:36:38.311Z", "price" : 90 }, "-Kc3BF0V1xxfrtnI65OlS" : { "date" : "2017-02-03T13:36:38.311Z", "price" : 90 } }, "Januari" : { "-Kc3E5bpxpo3RpSHH3fn" : { "date" : "2017-01-11T13:50:12.264Z", "price" : 45 } } } } What I am trying to achieve in my app is to show a list like this > Januari > - 45 (=price) > > Februari > - 90 () > - 240 The thing is I am able to