reordering for emulation check