diff --git a/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java b/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java index 499a198..6546dcc 100644 --- a/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java +++ b/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java @@ -63,7 +63,7 @@ public static void mergeAtomicProfiles(OutputStream out, final String description, final String creator) throws IOException, JAXBException { SortedSet rules = new TreeSet<>(new RuleComparator()); - Set variables = new HashSet<>(); + SortedSet variables = new TreeSet<>(Comparator.comparing(Variable::getName)); PDFAFlavour flavour = null; for (File dir : root) {