Good day.
I'm looking for a way to sort the transactions and balances in my file by date.
My workflow is that I run some importers, walk through the entries and fix/confirm them. Each importer has its output nicely sorted, but I want to merge all the entries. So that all entries appear by date in the file. I now do this manually and that sucks.
What are my options?
I've tried bean-report -f beancount but that changes far more than just the sort ordering.
I use vim, and that can sort by paragraphs[1],folds[3] or regexes-blocks[3]. All work, but are fragile, require convoluted actions or plugins.
Is there some alternative bean-format that would do this? Did I miss an obvious tool shipped in core? Is there an addon?
I've searched the archives, but surprisingly, did not see an answer. Might be that I did not see it through all the noise (sort|sorting gives many false-positives). So sorry if this has been asked before.
Kind regards,
Happy sorting,
Bèr
[1]
https://stackoverflow.com/a/24099468/73673[2]
https://gist.github.com/inkarkat/4145501[3]
https://gist.github.com/PeterRincker/582ea9be24a69e6dd8e237eb877b8978