A neuroscience podcast last year talked about this. They said a tidy space cuts down on stuff your brain has to sort through, so you can see clues better. Your clean closet story totally fits that idea.
My desk in the study is always a mess, but I actually solve cases faster when it's messy. Last week, I found a key clue buried under some old notes I hadn't filed away. For me, the random stuff lying around sparks links I'd miss if everything was neat. Maybe my brain just works better in clutter, lol.