diff --git a/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs b/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs index d39de5fbf8..6079d6633f 100644 --- a/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs +++ b/src/Tgstation.Server.Host/Components/StaticFiles/Configuration.cs @@ -199,7 +199,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles { IsDirectory = true, Path = ioManager.ConcatPath(configurationRelativePath, x), - })); + }).OrderBy(file => file.Path)); } catch (IOException e) { @@ -213,7 +213,7 @@ namespace Tgstation.Server.Host.Components.StaticFiles { IsDirectory = false, Path = ioManager.ConcatPath(configurationRelativePath, x), - })); + }).OrderBy(file => file.Path)); } using (await SemaphoreSlimContext.Lock(semaphore, cancellationToken).ConfigureAwait(false))