src/main/java/eu/digitisation/layout/SortPageXML.java
public static void transform(File ifile, File ofile) throws IOException {
        Document doc = DocumentParser.parse(ifile);
        DocumentWriter writer = new DocumentWriter(SortPageXML.sorted(doc));
        writer.write(ofile);
    }
/**
     * Create a file where ordered groups follow the order information
     *
     * @param ifile the input PAGE XML file
     * @param ofile the file with the transformed document
     * @throws java.io.IOException
     */
Create a file where ordered groups follow the order information
@param ifile the input PAGE XML file
@param ofile the file with the transformed document
@throws java.io.IOException
Create a file where ordered groups follow the order information @param ifile the input PAGE XML file @param ofile the file with the transformed document @throws java . io . IOException
public static void transform(File ifile, File ofile) throws IOException {
        Document doc = DocumentParser.parse(ifile);
        DocumentWriter writer = new DocumentWriter(SortPageXML.sorted(doc));
        writer.write(ofile);
    }
public static void transform ( File ifile , File ofile ) throws IOException { Document doc = DocumentParser . parse ( ifile ) ; DocumentWriter writer = new DocumentWriter ( SortPageXML . sorted ( doc ) ) ; writer . write ( ofile ) ; }
Create a file where ordered groups follow the order information
 @param ifile the input PAGE XML file
 @param ofile the file with the transformed document
 @throws java.io.IOException
Create a file where ordered groups follow the order information @param ifile the input PAGE XML file @param ofile the file with the transformed document @throws java . io . IOException