Suddenly, Lucene indexes at my Sitecore website got broken and after some investigation, I've noticed that Sitecore include files are "patching" web.config in non-alphabetical order.
John West mentioned in one of hist blog posts:
Sitecore processes Web.config include files in alphabetical order (technically, the order returned by the Directory.GetFiles() method).
However, MSDN says:
The order of the returned file names (from GetFiles()) is not guaranteed; use the Sort() method if a specific sort order is required.
What could cause that kind of issues? Is it something related to the server configuration?