Skip to content

Specify a default sort order #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dreammu opened this issue Mar 17, 2025 · 1 comment
Open

Specify a default sort order #557

dreammu opened this issue Mar 17, 2025 · 1 comment

Comments

@dreammu
Copy link

dreammu commented Mar 17, 2025

Specific Demand

I would like to request a modification to the default sorting method used in the application. Currently, the items are sorted in a fixed order by default.

Implement Suggestion

Command-Line Parameter: Allow users to specify the sorting method through a command-line argument by adding a --sort parameter, like --sort mtime=desc.

Configuration File Option: Allow users to specify the sorting method in the configuration file by adding a sort key, like sort: mtime=desc.

@Crysknife007
Copy link

I like this idea. Perhaps it would also be useful to save the sort order to localStorage in the browser itself. In this way if users changed the sort order in their browser, and came back to dufs at a later time, this value would be retrieved from localStorage and used instead of the defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants