diff --git a/generate-xml.py b/generate-xml.py index 4437125..f417893 100644 --- a/generate-xml.py +++ b/generate-xml.py @@ -8,7 +8,7 @@ name_re = re.compile(r'.+\/(.+?)\/svg\/production\/ic_(.+)_') src_path = Path('./material-design-icons/') -sprite_files = list(src_path.glob('**/svg/production/*24px.svg')) +sprite_files = sorted(list(src_path.glob('**/svg/production/*24px.svg')), key=lambda file: file.as_posix()) files_element = etree.Element("files") # set up the output dir