One thing I noticed is that it seems in the past scripts were sorted by their names. But now there's even a XStream alias, to a new ID sorter, which is the default one now.
So if I understand it correctly, scripts are stored in the cache, and also referenced (e.g. when another plug-in wants to load it) but their ID. Then in the UI, the values are sorted by their ID's, and not by what is displayed to users.
Wouldn't it make more sense to keep caching and using the ID for retrieval. But then for displaying, I think if you have, say, 200 scripts, finding them can be quite hard if they are not sorted alphabetically.
Before I submit an issue to sort by name, could someone clarify if the ID is used only for internal management, or if there are other use cases? Maybe we could even use a random UUID generator, and drop the ID in the UI... that way users wouldn't have to bother about it.
+1 even after having used the plugin for a while I have to always stop and think what Id and name mean. I would suggest changing Id to simply Script.