Sorting does not affect folders, only files within folders

When sorting in the sidebar, only files are sorted, but the folders that contain them are not.

Anyone would expect that when sorting a tree structure all nodes are sorted, not just leaf nodes.

here are two screenshots of my vault with opposite sorts set – name A-Z, and name Z-A. As you can see, the folders appear in the same exact order, it’s just the files within them that change sort order.

This is the current indented behavior. Search/open a Feature request.

This is intended behavior? But it’s not sorting… it’s only sorting files within folders. I can’t imagine the explanation of why this is desirable.