Thanks for the reply.
My indents are all tabs. But as you can see in the screenshot below, my projects have children, not siblings, and the children won’t get collapsed until level 3.
So I position the cursor on the project “Mig to DEVONthink”, and hit “Shift + Cmd + 9”, but nothing happens.