public static void initBuilders(FrameworkModel model) {
        Set<TypeBuilder> tbs = model.getExtensionLoader(TypeBuilder.class).getSupportedExtensionInstances();
        BUILDERS = new ArrayList<>(tbs);
    }
@Test
    void testSortTypeBuilder() {
        TypeDefinitionBuilder.initBuilders(FrameworkModel.defaultModel());

        TypeBuilder tb = TypeDefinitionBuilder.BUILDERS.get(0);
        Assertions.assertTrue(tb instanceof TestTypeBuilder);

        tb = TypeDefinitionBuilder.BUILDERS.get(TypeDefinitionBuilder.BUILDERS.size() - 1);
        Assertions.assertTrue(tb instanceof Test3TypeBuilder);
    }