Ionic Zip Library v1.9.1.6
SortEntriesBeforeSaving Property
Whether to sort the ZipEntries before saving the file.
![](collapse_all.gif)
![](collapse_all.gif)
The default is false. If you have a large number of zip entries, the sort
alone can consume significant time.
![](collapse_all.gif)
![](CopyCode.gif)
using (var zip = new ZipFile()) { zip.AddFiles(filesToAdd); zip.SortEntriesBeforeSaving = true; zip.Save(name); }
![](CopyCode.gif)
Using zip As New ZipFile zip.AddFiles(filesToAdd) zip.SortEntriesBeforeSaving = True zip.Save(name) End Using