private static Comparator<String> buildModuleNameComparator() {
        // Core is always run first so list it first
        final Comparator<String> moduleComparator = (o1, o2) -> {
            String stroomCoreModuleName = "stroom-core";

            if (Objects.equals(o1, o2)) {
                return 0;
            } else if (stroomCoreModuleName.equals(o1)) {
                return -1;
            } else if (stroomCoreModuleName.equals(o2)) {
                return 1;
            } else {
                return Comparator.<String>naturalOrder().compare(o1, o2);
            }
        };
        return moduleComparator;
    }
Finds all the v7 DB migration scripts and dumps them out in order.
Useful for seeing the sql and java migrations together
stroom-app/src/test/java/stroom/db/migration/TestListDbMigrations.java