PIM-3475: Fix attribute options sort order in import/export

| Q                    | A
| -------------------- | ---
| Bug fix?             | Y
| New feature?         | N
| BC breaks?           | Y
| CI currently passes? | ?
| Tests pass?          | ?
| Scenarios pass?      | ?
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | Y
| Fixed tickets        | PIM-3475
| DB schema updated?   | N
| Migration script?    | N
| Doc PR               | N