Hi, I created another small plugin script in Python to group layers with a shortcut under a single folder, which I use regularly when dealing with very large files with many layers.
Download https://mega.nz/file/AE0k2SIY#X6hZrz0dgoRoftbAPd0zaDd7F-Fa6AXprPd3MNZT75Y
Place it in the folder called "raggruppa_livelli." Enable the plugin from the terminal with chmod +x ./raggruppa_livelli.py
Video example
