Skip to content

Add -r/--rank flag to sort by rank only#36

Open
wyne wants to merge 2 commits into
mainfrom
feat/rank-sort
Open

Add -r/--rank flag to sort by rank only#36
wyne wants to merge 2 commits into
mainfrom
feat/rank-sort

Conversation

@wyne

@wyne wyne commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds -r/--rank flag that sorts results purely by accumulated rank (frequency), ignoring recency
  • Default sort remains frecency (frequency + recency combined); -r opts into rank-only ordering
  • Composes with -R (reverse): -r -R gives highest-ranked entries first

Closes the -r sort by rank gap in the README feature comparison table.

Test plan

  • fasder -r sorts by rank only (recency tie-breaker is not applied)
  • fasder -r -R reverses the rank-only sort (highest rank first)
  • go test -run TestRankSort ./... passes
  • Existing list/subshell tests still pass

https://claude.ai/code/session_015fMoaAdGN1KxxrVHskgicZ


Generated by Claude Code

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

Successfully merging this pull request may close these issues.

2 participants