In UE5 I put all my folders in a folder called “Folders” and I only collapse that when I open the editor.