Remove unintended side-effect when sorting manifests.