diff --git a/arduino-ide-extension/src/browser/contributions/examples.ts b/arduino-ide-extension/src/browser/contributions/examples.ts index 4875818b6..480095097 100644 --- a/arduino-ide-extension/src/browser/contributions/examples.ts +++ b/arduino-ide-extension/src/browser/contributions/examples.ts @@ -100,7 +100,7 @@ export abstract class Examples extends SketchContribution { } }; pushToDispose.push(this.commandRegistry.registerCommand(command, handler)); - this.menuRegistry.registerMenuAction(submenuPath, { commandId, label: sketch.name }); + this.menuRegistry.registerMenuAction(submenuPath, { commandId, label: sketch.name, order: sketch.name.toLocaleLowerCase() }); pushToDispose.push(Disposable.create(() => this.menuRegistry.unregisterMenuAction(command))); } }