Skip to content

Commit

Permalink
Deterministically sort results (alphabetic by filename)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoesel committed Feb 5, 2024
1 parent cf8dcee commit 6cd62a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function getChildren(relativeDir = '') {
let workingArray = [];

// First we'll take in all files in the provided directory
const files = fs.readdirSync(path.join(baseExamplesPath, relativeDir));
const files = fs.readdirSync(path.join(baseExamplesPath, relativeDir)).sort();

for (const file of files) {
const relativeFilePath = path.join(relativeDir, file);
Expand Down

0 comments on commit 6cd62a1

Please sign in to comment.