diff --git a/packages/codegen/src/create_icon_file.rs b/packages/codegen/src/create_icon_file.rs index 16980db..9be8c17 100644 --- a/packages/codegen/src/create_icon_file.rs +++ b/packages/codegen/src/create_icon_file.rs @@ -89,6 +89,7 @@ pub fn create_icon_file(svg_path: &str, output_path: &str, icon_prefix: &str) { fn collect_svg_files(svg_path: &str, icon_prefix: &str) -> Vec { let dir_entries = WalkDir::new(svg_path) + .sort_by_file_name() .into_iter() .filter_map(|e| e.ok()) .collect::>();