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.
The order of e.g.
indy-rewards all 416orindy-rewards summary 416lines 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.
all,sp,lp,gov, this would mean sorting the result list by date → description → indy (or pkh).summaryshould keep, but enforce the current format.