JavaScript Sort array of strings using date format

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?

Answer:1

I have here-under a simple example of spline chart with data label enabled : dataLabels: {enabled: true} http://jsfiddle.net/gc8144kv/ I would like to have the data labels on top of the graph ...

I have here-under a simple example of spline chart with data label enabled : dataLabels: {enabled: true} http://jsfiddle.net/gc8144kv/ I would like to have the data labels on top of the graph ...

I have a kendo grid with custom popup edit window to imitate popup edit, but with batch edit. Everything works fine, but I am experiencing a small issue. Whenever value is changed, the grid cell does ...

I have a kendo grid with custom popup edit window to imitate popup edit, but with batch edit. Everything works fine, but I am experiencing a small issue. Whenever value is changed, the grid cell does ...

I am setting up foundations for a websocket app using node.js, express and socket.io. I decided it would be elegant to place the code that sets up socket.io in a separate module, so my server.js file ...

I am setting up foundations for a websocket app using node.js, express and socket.io. I decided it would be elegant to place the code that sets up socket.io in a separate module, so my server.js file ...

When I refresh page timer is reset. I would like to set localStorage on this timer, how do it set in localStorage HTML 00 : <span id="timer">02 : 00</span> JavaScript :- window.onload ...

When I refresh page timer is reset. I would like to set localStorage on this timer, how do it set in localStorage HTML 00 : <span id="timer">02 : 00</span> JavaScript :- window.onload ...