![]()
You are writing a program to help organize his daily schedule.
You receive a list of dates in different formats:
YYYY-MM-DD
MM/DD/YYYY
DD Mon YYYY (e.g., 25 Oct 2025)
Your task is to sort these dates chronologically from earliest to latest.
All input dates and formats are valid.
No two dates represent the same calendar day.
You do not need to check for duplicates.
A single line of comma-separated dates.
Print the dates sorted chronologically, one per line.
Original input format is preserved.