Using Firebase, the Date is stored as : dd/MM/yyyy in the Firebase DB in String format.
I'm not getting desired results when using orderBy to order my entries by date.
dbInstance.orderByChild("eventDate").startAt(currentDate).addListenerForSingleValueEvent(eventListener);
This is what I'm using to display entries. It works fine. But the problem is with dates not being sorted correctly.
So, if today is 02/05/17 , entry with date in the above image won't display because on comparing these two strings, the one in the image is smaller.
How can this be corrected? Please help!!