Skip to content

Commit

Permalink
fixed data ordering in compare exports #455
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Oct 21, 2024
1 parent 3beab8f commit 3cbcd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function processMultiSensorReportData(data, t, sensorType) {
}
}

timestampsWithData.sort((a, b) => a - b)
timestampsWithData.sort((a, b) => b - a)
timestampsWithData = timestampsWithData.filter(function (item, pos, ary) {
return !pos || item !== ary[pos - 1];
});
Expand Down

0 comments on commit 3cbcd63

Please sign in to comment.