Is it possible to sort sub-accounts in hledger reports?

It seems like from the hledger manual if you declare your account directives in a specified order that will affect how they are sorted in report output. However it doesn't seem to take effect for me in the child/sub-accounts. For example if I declare:

Assets:Account2 Assets:Account1 

Account 1 still comes out on top.

Can anyone confirm if I can do what I'm trying to do here?

https://hledger.org/1.32/hledger.html#account-display-order:

Sorting is done at each level of the account tree, within each group of sibling accounts under the same parent. And currently, this directive:

account other:zoo

would influence the position of zoo among other's subaccounts, but not the position of other among the top-level accounts.

‚Äč

submitted by /u/megagram
[link] [comments]
This is a companion discussion topic for the original entry at https://www.reddit.com/r/plaintextaccounting/comments/1aqzshx/is_it_possible_to_sort_subaccounts_in_hledger/