@Override
    public void applyFix(@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);
      }
    }
@Override
    public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor)