Skip to content

Feature request: sort checklist items alphabetically #143

Closed

Description

@wimvanhooff

Checklists can be ordered by hand (drag and drop) and "Move completed checklist items to bottom" keeps ticked items out of the way, but there's no way to sort the items A→Z. For long lists that are mostly looked up rather than worked through in order (packing lists, shopping lists by name, inventories, "things to try"), dragging dozens of items into place by hand isn't practical, and new items end up wherever they were added.

Proposal: a "Sort A→Z" action in the checklist note's menu, which reorders the items once (it just writes a new manual order, so dragging afterwards still works and nothing else changes).

Details that would make it fit the existing behaviour:

  • Nested items stay with their parent: sort the top-level items, and sort children only among their siblings.
  • Completed items: with "Move completed checklist items to bottom" on, sort the unchecked and checked groups separately; with it off, sort all items together.
  • Locale-aware comparison (localeCompare / Intl.Collator, case-insensitive, numeric), so accented letters and "Item 2" vs "Item 10" sort as people expect.
  • Optionally a Z→A counterpart, and undo, like other edits.

A persistent "keep this list sorted" option per note would be a nice extra, but the one-off action covers most of the need.

Related: #59 (suggesting completed items again when adding one), #40 (alphabetical labels).

Activity

  1. Mittalnew commented on Nov 13, 2026

    @Mittalnew
    Contributor

    Hi @ericerkz, I'd like to work on this. My plan is to add a "Sort A→Z" item to the checklist note's menu that sorts items with a locale-aware localeCompare (case-insensitive) and writes the result as the new manual order, so drag-and-drop keeps working afterwards and "Move completed items to bottom" is respected. Happy to adjust if you'd prefer a different spot for the action. Could you assign it to me?

  2. added
    enhancement
    on Nov 14, 2026
  3. ericerkz commented on Nov 14, 2026

    @ericerkz
    Owner

    I'm thinking this would make sense in the expanded menu (dot menu)? Happy to have you take it on, thank you!

  4. added a commit that references this issue on Nov 20, 2026
    309879d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions