Fine-tune transaction ordering
Fix journal receipt/remittance sign inversion

Also improve transaction ordering
Merge branch 'master' into 'python'