Skip to content

Session reports use Last Activity for sort order instead of costs #903

Closed

Description

@ronvoluted

From the Session Reports docs:

Sessions are sorted by cost (highest first) by default, making it easy to identify your most expensive conversations.

However when running pnpx ccusage session, the entries are clearly sorted by "Last Activity" rather than "Cost (USD)":

Image

Since the docs say "by default" it would also be great to be able to pass which column to sort by and asc/desc bu that's a separate request.

Activity

  1. added a commit that references this issue on Mar 25, 2026
    2fea51a
  2. added a commit that references this issue on May 11, 2026
    9f31ebc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions