"Collapse by Material" vs "keep hierachy": how can i change this after import?

Hello, is it possible to change the folder structure from "collapse by material" to "keep hierachy" after import?

I have not seen any way to do that. I usually just delete and re-import if I need it the other way.

Collapse after import would be very helpful.