I don't completely understand what you are trying to accomplish. Can you post a simplified hand generated example of what report format you are trying to achieve?
On Mon, Oct 24, 2011 at 14:10, Peter Ross <[email protected]> wrote: > On Tue, Oct 25, 2011 at 12:19 AM, Craig Earls <[email protected]> wrote: > > In ledger 3 you need to give --sort a value expression to sort on. > > > > Some thing like > > > > ledger bal --sort "abs(amount)" --flat > > > > the flat argument overides allows it to sort subaccount by value rather > than > > the account at each hierarchical level. > > > Thanks, I am using version 3. However I don't want the flat output > but the hierachical output. > > I tried > > ledger --sort '-abs(total)' bal '^income' '^expenses' > > however the income which is greater than my expenses still appeared at > the bottom and was sorted in the incorrect order. > > Is the above correct? >
