PIM-3520: Fix multiselect sorter

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