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.






On Sun, Oct 23, 2011 at 22:29, Peter Ross <[email protected]> wrote:

> I would like to sort my income and expenses report by absolute value
> of account, largest to smallest.
>
> I believe the following command line is correct
>
> ledger --sort -UT bal income expenses
>
> and I get the following output
>
> $ ledger --sort -UT bal income expenses
> While evaluating value expression:
>  UT
>  ^^
> Error: Unknown identifier 'UT'
>
> $ ledger --sort -T bal income expenses
>
> works as expected.
>
> Is this a bug or a misunderstanding on my part?
>



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

Reply via email to