How to Sort an Array by Date in JavaScript

How to Sort an Array by Date in JavaScript