I have a couple of my own R packages that contain a large number of R Markdown templates. When I go to open a new document from a template by clicking "File -> New File -> R Markdown -> From Template", the list of installed R Markdown templates is displayed in a seemingly random order, making it difficult to locate a specific template among the large number of installed templates.
I remember that in older versions of RStudio, templates were sorted alphabetically by name. I went back and tested older releases, and I found that in release v1.0.153, installed R Markdown templates were sorted alphabetically by package name, then within each package they were sorted alphabetically by template name.
Starting with release v1.1.383 (and up to the current release v1.2.1335), installed R Markdown templates are ordered by package name (but the order of packages is not alphabetical or in any other obvious order), and also, the installed templates within a given package are in a seemingly random order.
Is there some way to make installed R Markdown templates be sorted in a way similar to the behavior from v1.0.153, where the installed templates are sorted alphabetically, first by the package name, then alphabetically by template name within each package?