I am working with dynamically generated date and time data and I am looking to sort them in descending order using JavaScript.
Here is an example of the data format I am dealing with:
var array= ["25-Jul-2017 12:46:39 pm","25-Jul-2017 12:52:23 pm","25-Jul-2017 12:47:18 pm"];
Any assistance on how to achieve this would be greatly appreciated.