Custom Sorting of Account Names

29 views
Skip to first unread message

dersuchmann

unread,
Aug 24, 2020, 10:25:16 AM8/24/20
to Ledger
Hello everybody,

I have a list of account names with a (to me) canonical order. For instance assume I have 

Expenses:Groceries
Expenses:Gas
Expenses:Other

And I would like to define a sorting that puts these account names in that particular order. Alphabetical does not work, and I also do not want to insert sorting numbers like 01-Groceries, 02-Gas, 03-Other... Is there any way how I can define a custom sorting with ledger? Maybe via some complicated value expression or any other way?

Thanks a lot!

Reply all
Reply to author
Forward
0 new messages