showing results for - "sort array by date moment"
Emily
11 Mar 2018
1let sortedDates = dates.sort(function(a, b){
2  return moment(b).format('X')-moment(a).format('X')
3});