Fix EZP-21584: Field types do not normalize sortKey properly

This PR resolves issue https://jira.ez.no/browse/EZP-21584