Skip to content

DirSheet: Sort by name by default #2605

Answered by midichef
cool-RR asked this question in Q&A
Discussion options

You must be logged in to vote

One quick way is to add to your .visidatarc:
DirSheet._ordering = [('filename', False)] # the boolean reflects the order of the sort; False = ascending, True = desscending
But this relies on internal implementation details of the column sorting, not an outward-facing API, so it's not a clean long-term solution.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cool-RR
Comment options

Answer selected by cool-RR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants