@somnia-chain/markets-sdk / index / byNewestFirst
Function: byNewestFirst()
byNewestFirst(
a,b):number
Defined in: packages/sdk/src/activity.ts:1000
Newest first, breaking a shared timestamp on block then log position.
EXPORTED because it is the order getMarketActivity pages by: a caller
merging its own rows into that page (the live tail, say) must sort by the
same rule, and a hand-copied comparator is free to drift from the paging
contract with nothing to catch it.
Parameters
a
b
Returns
number