Merge Json array date based
问题 I can't find a solution for this : i want to group json array based on one column ( date ) and sort it with Javascript / Jquery ? : I have been trying finding a solution but i can't figure out. [ { "date" : "2010-01-01", "price" : 30 }, { "date" : "2010-02-01", "price" : 40 }, { "date" : "2010-03-01", "price" : 50 }, { "date" : "2010-01-01", "price2" : 45 }, { "date" : "2010-05-01", "price2" : 40 }, { "date" : "2010-10-01", "price2" : 50 } ] I want this : [ { "date" : "2010-01-01", "price" :