As of macOS 10.14.6 (maybe since 10.14.0) I noticed that when I zip files directly within Finder (Select files, right click, compress) that the resulting Archive.zip contains the selected files but in another order than shown in Finder. Sort order in finder: alphabetically (by Name, ascending). Sort order in zip: i don't know what order it has...
How can I set the sort order in ZIPs back to alphabetically?
1) This is the order in the Finder:
2) This is the order in the ZIP file when using macOS 10.14.6 compression (select all, right click, compress): So the order is 4 - 2 - 3 - 1 (instead of 1 - 2 - 3 - 4)
3) Here is the order in the ZIP file when using KeKa:
I hope my question is clear now and we can avoid unnecessary "why is this important" comments... Thanks!
unzip -l filename.zip(when I zip with KeKa, the sort order is still good, when using the MacOS Compressor (Archive Utility, right-click out of Finder), the sort order is wrong.
4.3.3 Files MAY be stored in arbitrary order within a ZIP file.and
22.214.171.124 The entries in the central directory MAY NOT necessarily be in the same order that files appear in the .ZIP file.You might just be seeing implementation details.