From 049a8429873ee5157090a3674223021c1b0c9d73 Mon Sep 17 00:00:00 2001 From: Carlos Guerra Date: Wed, 29 Apr 2026 11:18:30 +0200 Subject: [PATCH] suggested fix for gps feature, sorting timestamps --- daemon/src/gps.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/src/gps.rs b/daemon/src/gps.rs index 83ff70e..057b46f 100644 --- a/daemon/src/gps.rs +++ b/daemon/src/gps.rs @@ -94,6 +94,7 @@ pub async fn load_gps_records(file: tokio::fs::File) -> Vec { } } } + records.sort_by_key(|r| r.unix_ts); records }