Commit 1aa7510
committed
fix(files): sort by filename to have a reproducibly walking iterator
The underlaying structure's order is not fixed and may depend on
the filesystem implementation. Therefor the iterator needs to be
sorted by filename to guarantee a reproducible order of processing
input files.
One effect of this issue can be observed by having an unreproducible
order of posts that have the very same published_date (or none as
that falls back to default_date) purely depending on the order the
underlaying filesystem serves the files for consumption.
This fixes #4571 parent 4d8bf4d commit 1aa7510
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
0 commit comments