Export CSV needed sorting