Title: #3252: [Backport][ipa-4-7] dn: sort AVAs when converting from x509.Name
This PR was opened automatically because PR #3212 was pushed to master and backport to
ipa-4-7 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3252/head:pr3252
git checkout pr3252