Compare two dates, strings, or numbers by their timestamp in milliseconds.
['2024-01-02', '2024-01-01'].sort(byTimestamp); // ['2024-01-01', '2024-01-02'] Copy
['2024-01-02', '2024-01-01'].sort(byTimestamp); // ['2024-01-01', '2024-01-02']
Compare two dates, strings, or numbers by their timestamp in milliseconds.