rewrote ledger-end-record in ledger-sort to get rid of next-paragraph
everything appears to work with no empty lines between xacts.