Problem Description
Currently, the templates on the template selection page are displayed in a non-deterministic or unsorted order. This makes it difficult for users to find the template they are looking for, especially as the number of available templates grows.
Proposed Solution
To improve user experience and discoverability, we should implement a consistent sorting logic. Two potential solutions are:
-
Sort by Most Recently Used (LRU): Display templates based on when they were last used, with the most recent at the top. This prioritizes templates relevant to the user's current tasks.
-
Sort by Creation Date: Order the templates by their creation timestamp, showing the newest ones first. This makes it easy to find the latest templates.