docs: journal: account: a little bit more about sorting

[ci skip]
This commit is contained in:
Simon Michael 2018-10-15 12:07:44 -07:00
parent 4a399e50cb
commit 0f2a31bea7

View File

@ -911,11 +911,14 @@ expenses
Undeclared accounts, if any, are displayed last, in alphabetical order. Undeclared accounts, if any, are displayed last, in alphabetical order.
Note that sorting is done at each level of the account tree (within each group of sibling accounts under the same parent). Note that sorting is done at each level of the account tree (within each group of sibling accounts under the same parent).
This directive: And currently, this directive:
```journal ```journal
account other:zoo account other:zoo
``` ```
would influence the position of `zoo` among `other`'s subaccounts, but not the position of `other` among the top-level accounts. would influence the position of `zoo` among `other`'s subaccounts, but not the position of `other` among the top-level accounts.
This means:
- you will sometimes declare parent accounts (eg `account other` above) that you don't intend to post to, just to customize their display order
- sibling accounts stay together (you couldn't display `x:y` in between `a:b` and `a:c`).
### Rewriting accounts ### Rewriting accounts