Export columns in correct order
Closes #475 (closed), #171 (closed) and a possible error where multiple FOs within a problem have the same name.
Closes #475 (closed), #171 (closed) and a possible error where multiple FOs within a problem have the same name.