add a sort function #487

Closed
opened 2026-09-11 20:13:08 +00:00 by Cordy · 1 comment
Owner

add a feature for the user to be able to sort their files on his view.
Look at the screenshot provided for sorting guidance.

add a feature for the user to be able to sort their files on his view. Look at the screenshot provided for sorting guidance.
Author
Owner

Shipped in v0.6.172 (PR #510), live on both dogfoods (currently at v0.6.174).

Two handles on one sort state, per the screenshot's guidance:

  • A toolbar sort menu with the six modes from the reference: Name A–Z / Z–A, Modified newest / oldest, Size largest / smallest (the button label always names the active mode).
  • Click-to-sort column headers — the list header became the mockup's sunk uppercase band; Name, Size and Modified carry a direction arrow on the active column and flip on a second click.

Folders always sort before files, deactivated spaces keep sinking below their divider, and name comparison is numeric-aware ("img2" before "img10"). The choice persists per browser.

Shipped in **v0.6.172** (PR #510), live on both dogfoods (currently at v0.6.174). Two handles on one sort state, per the screenshot's guidance: - A **toolbar sort menu** with the six modes from the reference: Name A–Z / Z–A, Modified newest / oldest, Size largest / smallest (the button label always names the active mode). - **Click-to-sort column headers** — the list header became the mockup's sunk uppercase band; Name, Size and Modified carry a direction arrow on the active column and flip on a second click. Folders always sort before files, deactivated spaces keep sinking below their divider, and name comparison is numeric-aware ("img2" before "img10"). The choice persists per browser.
Cordy closed this issue 2026-09-12 19:12:19 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#487
No description provided.