Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
chargeViews.sort(function (a: ChargeView, b: ChargeView): number {
return Objects.compare(a.t0, b.t0);
});
const now = Date.now();