Skip to content

enhancement: sort pidrift list output alphabetically #6

@tanmayjoddar

Description

@tanmayjoddar

Why

listSnapshots() currently returns whatever order the OS provides. Sorting makes output stable and easier to scan.

Where

  • src/storage/snapshotStore.js
  • src/commands/list.js

Acceptance Criteria

  • Snapshot tags are sorted A→Z before printing
  • No behavior changes beyond ordering
  • npm test passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCLI relatedenhancementNew feature or requestgood first issueGood for first-time contributorsgssocGSSoC

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions