diff --git a/image-fill.py b/image-fill.py index 8cc7e28..47a8e81 100644 --- a/image-fill.py +++ b/image-fill.py @@ -49,7 +49,7 @@ with FileInput(html_path, inplace=True) as html: for line in html: if "Images go below" in line: # Insert imgs here print(line, end='') - for img in imgs: + for img in sorted(imgs): print(img) else: print(line, end='')