PIM-3191: add sorters to the grid state

| Q                    | A
| -------------------- | ---
| Bug fix?             | Y
| New feature?         | Y
| BC breaks?           | N
| CI currently passes? | ?
| Tests pass?          | Y
| Scenarios pass?      | ?
| Checkstyle issues?*  | N
| PMD issues?**        | N
| Changelog updated?   | Y
| Fixed tickets        | PIM-3191
| Doc PR               |
Whoops, misunderstood! Yeah, maybe more readable..