[REQ] Order in ZIP not equal to order in MacOS Finder
Configuration
- Keka version: 1.2.16 (4617)
- macOS version: 10.14.6 (18G9216)
Describe the bug
Order in ZIP not equal to order in MacOS Finder.
To Reproduce
Steps to reproduce the behavior:
- Create 3 files, e.g.
My File 9.pdf/My File 10.pdf/My File 11.pdf - In the finder, I sort by name and the files correctly show up sorted, starting with 9, ending with 11
- I drag the 3 files onto the Keka, the ZIP gets created.
- When I check the ZIP content, the 9-file is the last, instead of the first one. (I used
unzip -vl Archive.zipto verify the order in the ZIP)
Expected behavior
I need KeKa to sort like finder shows the files.
They're currently being sorted by name, just not treated as numbers like in Finder. In this case 10, 11 and 9 will be the order, since 1 is lower than 9.
You can simply name your files with leading zeros depending on your biggest number.
In your example will be My File 09.pdf.
I can check if there's a way to not change the order of the elements coming from the Finder, so first to come goes first.
Thanks @aonez , I'm aware of the workaround with leading zeros, then it works. However it's not a solution. I need a compression tool that takes the first as first as you say. I didn't find a way yet.