Added support of sim-outorder. Not tested.