class ArchiveMerger {

    List<FileEntry> sort(List<FileEntry> archiveParts) {
        return archiveParts.stream()
                           .sorted(Comparator.comparingInt(this::getArchivePartIndex))
                           .collect(Collectors.toList());
    }

    public  ArchiveMerger(FileService fileService, StepLogger stepLogger, DelegateExecution execution);

}