diff --git a/src/steps/processMapFile.ts b/src/steps/processMapFile.ts index 5dc9c7d6..c3ccc1aa 100644 --- a/src/steps/processMapFile.ts +++ b/src/steps/processMapFile.ts @@ -24,7 +24,7 @@ export function prepareMapFile(): void { return preparedPath; }); - const navigationPaths = {files: [...new Set(navigationPathsWithoutExtensions)]}; + const navigationPaths = {files: [...new Set(navigationPathsWithoutExtensions)].sort()}; const filesMapBuffer = Buffer.from(JSON.stringify(navigationPaths, null, '\t'), 'utf8'); const mapFile = join(outputFolderPath, 'files.json');