'How to sort context menu elements in a TreeView in a VS Code extension?

I build a Git Flow Extension.

In my actions inside view, context menus are sorted alphabetically.

enter image description here

I want them to be sorted as in the order I entered commands in configuration. How can I control order? I can see that the same action menu of git is well organized yet has separators.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source