I\'m re ordering some data by date from a fetch result as follow:
let orderedData = Object.values(newData).sort(function(a,b){ console.log(a) return new Dat