Pls refer - http://jsfiddle.net/cbe6vxgh/2/
var datax = $("#x").val();
var e = JSON.parse(datax);
Requirement is to sort the JSON data based on the bdate, as given in fiddle. sorting has to be done only in pure javascript.
I thought of forEach loop, and all, but was not able to sort it.