No. First you need to make the file data blocks, then order those and the filename list by lowercase filename. Then form the directory entries and put in the file locations of the data blocks. Once you do this the order of the directory entries doesn't have to be the same as for the data blocks, since the absolute file position is known. The directory entries should be written ordered by CRC instead.
WC
|