Option to group directories first in the "Files" library view

Feature description

I’d like to suggest an option (for example, a toggle in the settings, disabled by default) to group/sort directories before music files in the “Files” library view (and possibly other relevant views as well).
This would be similar to the --group-directories-first behavior from GNU coreutils ls.

Problem solved

For users with heavily folder-tree-based library organization, mixing directories and audio files in a single alphabetical list can reduce navigation usability and make browsing less practical.
Grouping directories first would improve navigation and make the behavior more consistent with what users typically expect from graphical file explorers.

Brought benefits

  • Better usability of the “Files” view;
  • Faster navigation in large libraries;
  • More intuitive folder-tree browsing;
  • Behavior consistency with many file managers/file explorers;

Other application solutions

Many graphical file explorers group directories before files by default, while some provide a toggle for enabling/disabling this behavior.
GNU coreutils ls is an example of a tool that keeps the default mixed sorting behavior, but provides the --group-directories-first option for users who prefer it.

Device type

Phone

Additional description and context

I am also on the beta program, so I would be happy to provide feedback/testing if something like this is ever implemented.
Thanks for the great work on Symfonium. It has been an excellent solution for large cloud-based personal music libraries.

I searched existing feature requests

on