Skip to content

Sorted outputs #1

@karleitner

Description

@karleitner

The order of e.g. indy-rewards all 416 or indy-rewards summary 416 lines depends on the order of items in the analytics API responses.

These should be made deterministic, so the same command always outputs the exact same text, even if API response item orders change over time.

  • For individual reward commands like all, sp, lp, gov, this would mean sorting the result list by date → description → indy (or pkh).
  • summary should keep, but enforce the current format.
    • INDY gov rewards first.
    • LPs, sorted alphabetically by Purpose.
    • SPs, sorted alphabetically by Purpose.
    • Totals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions