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?

Reply via email to