It would seem that the following migration could be automated to save time:
https://docs.ametys.org/fr/ametys-v4/manuel-de-mise-a-jour/migration-4-8-vers-4-9/tri-alpha-numerique-des-fichiers.html?search-keywords=%22code.20250127.WEB.FilesTreeServices%22