docs: journal: more account sorting updates

[ci skip]
This commit is contained in:
Simon Michael 2018-09-23 18:04:20 -10:00
parent 7a9ca5f6a9
commit f2b4fca9b0

View File

@ -845,7 +845,7 @@ other
revenues revenues
``` ```
Ie without account declarations, they are displayed in alphabetical order. By default, they are displayed in alphabetical order.
But if you add the following account directives to the journal: But if you add the following account directives to the journal:
```journal ```journal
account assets account assets
@ -867,15 +867,13 @@ misc
other other
``` ```
Ie, declared accounts first, in declaration order, followed by undeclared accounts in alphabetic order. Ie, declared accounts first, in the order they were declared, followed by undeclared accounts in alphabetic order.
Notes: This is supported in most reports organised by account (accounts/balance/bs/bse/cf/is).
It is not yet supported in budget reports (balance --budget) or hledger-web's sidebar.
- sorting by account declaration order is not yet supported in Note sorting is done at each level of the account tree (within each group of sibling accounts
budget reports (balance --budget) under the same parent).
or hledger-web's sidebar.
It should work in all other reports organised by account (accounts/balance/bs/bse/cf/is).
- sorting is tree-aware (each group of siblings within the account tree is sorted independently).
### Rewriting accounts ### Rewriting accounts