All navigation functions moved to ledger-navigate.

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