OSSgit-switchboard

Sorting

Multi-level sorting in the PR dashboard — add, flip, and remove sort layers.

The PR dashboard supports multi-level sorting so you can prioritize the pull requests that need your attention most. Press s in the PR dashboard to open the sort modal.

Sort Order
──────────────────────────────────────────────
2↓ Updated
1↑ Review Status
> CI Status
Repository
Merge Status
Diff Size
PR Number
Close
Enter/Space toggle | Esc close

Multi-Level Sorting

Sort layers are applied in order. Each active layer shows a number and arrow in the modal — for example, 1↑ means "first sort layer, ascending" and 2↓ means "second layer, descending". The column headers in the PR table also show sort indicators so you can see the active sort at a glance.

Toggling a sort field cycles through three states:

  1. Add — the field is added as the next sort layer with its default direction.
  2. Flip — the field's direction is reversed (ascending becomes descending, and vice versa).
  3. Remove — the field is removed from the sort layers.

Press Enter or Space on a field to cycle through these states. Press Esc to close the modal and apply the updated sort.

Default Sort Order

By default, PRs are sorted by:

  1. Review Status (ascending) — approved PRs first, then changes requested, then needs review.
  2. Updated (descending) — most recently updated first within each review group.

Available Sort Fields

FieldDefault DirectionSort Order
UpdatedDescendingMost recently updated first
Review StatusAscendingapproved → changes-requested → re-review → commented → needs-review → dismissed
CI StatusAscendingfailing → mixed → pending → passing → unknown
RepositoryAscendingAlphabetical by owner/repo
Merge StatusAscendingconflicting → unknown → mergeable
Diff SizeDescendingLargest diffs first
PR NumberDescendingHighest number first
All docs
StatusREAD