void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { Collection<PropertiesFile> filesToSort = getFilesToSort(descriptor.getPsiElement().getContainingFile()); final boolean force = filesToSort.size() == 1; for (PropertiesFile file : filesToSort) { if (!force && file.isAlphaSorted()) { continue; } sortPropertiesFile(file); } }