We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad30e07 commit 2aa60dfCopy full SHA for 2aa60df
src/main.rs
@@ -72,7 +72,7 @@ fn main() -> ExitCode {
72
.collect::<Vec<PathBuf>>();
73
let max_files = supported_files.len();
74
75
- let photos = supported_files
+ let mut photos = supported_files
76
.iter()
77
.enumerate()
78
.filter_map(|(idx, path)| {
@@ -116,6 +116,7 @@ fn main() -> ExitCode {
116
})
117
118
.collect::<Vec<PhotoInfo>>();
119
+ photos.sort_by_key(|v| v.date.clone());
120
121
println!("\nFound {} photo coordinates", photos.len());
122
if photos.is_empty() {
0 commit comments