Sort Events by Date
events has columns name and date, written like "5 Mar 2024" (day, three-letter month, year). All dates are different. Return the event names ordered from the earliest date to the latest.
Example 1
events {"name":["b","a"],"date":["5 Mar 2024","28 Feb 2024"]}
returns ["a","b"]
February comes before March.
Constraints
- The tables are small
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.