>>>>> "BH" == Bob Hossley <segundo...@gmail.com> writes:

BH> The ledger sort is *NOT* "stable". A sort is "stable" iff when multiple
BH> records have the same key, their original order is preserved.
BH> Consequently, I can't use the ledger sort to achieve sorting on multiple
BH> keys. When I convert my GnuCash file to Ledger, the transactions are in
BH> random order. I want the transactions in my journal ordered first by date
BH> and second by payee.

Does this help:

    ledger print --raw --sort 'date,payee'

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to