rearrange mime node parsing order