[devtools] fix sorting in ExecutionPlan._check_permissions on python3
Sort lists instead of dict_items objects to get predictable results.
With this change, unittest_querier.UtilsTC.test_preprocess_security
passes every time instead of once in a blue moon. Closes #11759133.
usr/lib/python2*/*-packages/cubicweb/web
usr/lib/python2*/*-packages/cubicweb/wsgi
usr/share/cubicweb/cubes/shared/data
usr/share/cubicweb/cubes/shared/wdoc