Task: Sort Array of Objects by Date Field
Task: Sort Array of Objects by Date Field: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript solution that sorts an array of objects by their date field in ascending order (oldest date first).
The task
Create a JavaScript solution that sorts an array of objects by their `date` field in ascending order (oldest date first).
Part of PrimeIntellect/Terminal-Lego-15k.