if I have a list of object:
var objectList= LIST_OF_OBJECT;
each object in the list contains three attributes: \"name<
yourArray.sort(function(a, b) { a = new Date(a.date); b = new Date(b.date); return a >b ? -1 : a < b ? 1 : 0; })