}
private ChangeSink buildResultWriter(long sequenceNumber) {
XmlChangeWriter xmlChangeWriter;
ChangeSorter changeSorter;
xmlChangeWriter = replicationStore.saveData(sequenceNumber);
changeSorter = new ChangeSorter(new ChangeForStreamableApplierComparator());
changeSorter.setChangeSink(xmlChangeWriter);
return changeSorter;
}