Sort include_dir_list by name

Hello, I would like to have my lovelace config like this

title: A Minha Casa
resources: !include config/lovelace/resources.yaml
popup_cards:
  switch.livingroom_tv:
    title: Teste
    card:
      type: markdown
      content: Teste.
views: !include_dir_list config/lovelace/views/

The views: !include_dir_list config/lovelace/views/ works, but I have no control over the sorting of the views! It looks random! Can this be made to sort by name?

Thank You

1 Like