Issue #2409129 by webflo, k4v, kgoel, claudiu.cristea, dawehner, tstoeckler: Enforce order of permissions in config export