Canop / Canop/broot

Show Dirs first (alphabetically), and then File after (alphabetically) - Option Request

Open
#616 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.9k
Forks
315
Avg merge
1d 6h
Merged PRs (30d)
6

Description

If I use the option '--sort-by-type-dirs-first' then 'broot' puts the dirs first (good!) but then the files which follow below are sorted by type, not by alphabetical filename (bad!)

So to repeat: Please add a (command-line) option for 'broot' to show Dirs first (alphabetical) and then the Files after, but also alphabetically sorted.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the implementation of the existing --sort-by-type-dirs-first option and its directory-entry sorting logic. Reproduce the current behavior with a directory containing mixed names and types; done means directories appear first in alphabetical filename order, followed by files in alphabetical filename order.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.