/**
 * @returns The copy of the entires array with a shallow copy of each entry.
 */
export function sortEntires(entries) {
    const cp = entries.map((entry) => {
        const d = new Date(entry.startedDateTime);
        return {
            ...entry,
            timestamp: d.getTime(),
        };
    });
    cp.sort((a, b) => a.timestamp - b.timestamp);
    return cp;
}
//# sourceMappingURL=HarUtils.js.map