Re: Sorting on multiple keys and Sort Stability

2017-07-05 Thread Segundo Bob
On 07/05/2017 01:01 PM, John Wiegley wrote: > Does this help: > > ledger print --raw --sort 'date,payee' Yes, "--sort 'date,payee'" does what I want to do. Thank you very much. -- Segundo Bob segundo...@gmail.com -- --- You received this message because you are subscribed to the

Re: Sorting on multiple keys and Sort Stability

2017-07-05 Thread John Wiegley
> "BH" == Bob Hossley 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

Sorting on multiple keys and Sort Stability

2017-07-05 Thread Bob Hossley
The ledger sort is *NOT* "stable". A sort is "stable" iff when multiple records have the same key, their original order is preserved. Consequently, I can't use the ledger sort to achieve sorting on multiple keys. When I convert my GnuCash file to Ledger, the transactions are in random order.