Ordering of dashboards in YAML mode

I use YAML mode for my lovelace configuration. ui-lovelace.yaml contains:

title: Beatrice
views: !include_dir_merge_list ui-lovelace

The ui-lovelace/ folder contains a hierarchy of folders and files which assemble into a working interface. The top level of the hierarchy is:

$ ls -l ui-lovelace/
total 16
drwxr-xr-x    2 root     root          4096 Apr 21 11:00 000-default
drwxr-xr-x    2 root     root          4096 Apr 17 07:24 020-map
drwxr-xr-x    2 root     root          4096 Apr 22 10:51 030-spaces
drwxr-xr-x    3 root     root          4096 Apr 22 10:51 040-services

Each folder contains a dashboard definition which begins in a similar
way. For example, the 000-default folder contains a 000-default.yaml
file which begins:

  - title: Home
    path: default_view
    type: panel
    cards:
      ...
      ...

My menu bar items are ordered “SPACES SERVICES MAP HOME”

My problem is that the dashboard components appear in the main menu bar in an order which depends (I think) on the order in which the directories were first created. Certainly the order is
not collated or subsequently influenced by filename or file-creation date. There are posts on
the forum which assert the former, but this is not the case.

So, how do I dictate the order in which dashboards appear in the lovelace menu bar?

PR