import type { RoutePoint } from "../../domain/route.js";

export function buildRoute(points: RoutePoint[]): RoutePoint[] {
  return points.slice().sort((a, b) => a.capturedAt.localeCompare(b.capturedAt));
}

