Another case for the areg test suite: 1.22.1 seems to be displaying same-day transactions in reverse order:
2021-07-31 first
(a) 1
2021-07-31 second
(a) 2
$ hledger-1.22 -f a.j areg a -w80
Transactions in a and subaccounts:
2021-07-31 first a 1 1
2021-07-31 second a 2 3
$ hledger-1.22.1 -f a.j areg a -w80
Transactions in a and subaccounts:
2021-07-31 second a 2 2
2021-07-31 first a 1 3
Another case for the areg test suite: 1.22.1 seems to be displaying same-day transactions in reverse order: