I have a document with fields that are generated in firebase, the field name is todays date and the value is a incremenation of a use when the user do a special thing in the app.
When i retrieve the data from firebase my Map<String, dynamic> statistics; is filled in a random order because of how data is retreived from firebase.
How can i sort the returned data on the Key value (string) so that the dates are in ascending order?
I just can not figure this out. Any hint pointers is greatly appreciated.
