Order CSV columns

fixes #1054 on github