The dirs_first config option should sort files putting directories first (since it's not documented I don't know if it should be doing that), the default is true but no matter the option set, it seems that directories always comes last in the listing.
projectable 1.1.0
rustc 1.70.0
Compiled on ARM64