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 4b7008c commit 22326faCopy full SHA for 22326fa
splashsurf/Cargo.toml
@@ -23,3 +23,4 @@ rayon = "1.7"
23
bytemuck = "1.9"
24
regex = "1"
25
walkdir = "2"
26
+lexical-sort = "0.3"
splashsurf/src/reconstruction.rs
@@ -497,7 +497,11 @@ mod arguments {
497
for entry in WalkDir::new(input_root)
498
.max_depth(1)
499
.contents_first(true)
500
- .sort_by_file_name()
+ .sort_by(|a, b| {
501
+ let a = a.file_name().to_string_lossy();
502
+ let b = b.file_name().to_string_lossy();
503
+ lexical_sort::natural_cmp(&a, &b)
504
+ })
505
.into_iter()
506
.filter_map(|e| e.ok())
507
.filter(|e| e.file_type().is_file())
0 commit comments