Skip to content

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

@ronvoluted

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions