I have an array like this
["Apr 2014", "Sep 2015", "Jul 2010", "Jun 2016", "Sep 2013"]
I want to sort this array as dates. But when i am using this in date function as new Date("Apr 2014") it shows invalid date format error.
How can i sort this array?