In the code we have the following comment
public function preSave(EntityStorageInterface $storage) {
// Ensure the filters have been sorted before saving.
$this->filters()->sort();
parent::preSave($storage);
$this->name = trim($this->label());
// @todo Do not save disabled filters whose properties are identical to
// all default properties.
}
This causing problems for #2144263: Decouple entity field storage from configurable fields since its changes allow ConfigImportAllTest uninstall the filter module which then causes a discrepancy between staging and active after import.