more ordering fixes, direct support for reverse decoding (with reverse models)