js对日期进行升序排序

// 对日期进行升序排序
arr.sort(function (a, b) {return Date.parse(a) - Date.parse(b);});
原文地址:https://www.cnblogs.com/jingsupo/p/13181210.html