class FossologyUtils {

    public static void ensureOrderOfProcessSteps(ExternalToolProcess fossologyProcess) {
        fossologyProcess.setProcessSteps(fossologyProcess.getProcessSteps().stream()
                .sorted(Comparator.comparing(s -> s.getStepName())).collect(Collectors.toList()));
    }

}