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

Reduce several overlapping functions.
sort required a next xact function that ignores directives