fix export order to mirror import order