Collections.sort(optionsList, new LanguagesComparator());
List<SelectItemCategory> contientsCategories = new ArrayList<SelectItemCategory>();
SelectItemCategory category = new SelectItemCategory("Languages");
category.setSelectItemOptions(optionsList);
contientsCategories.add(category);
UIItemSelector selector = new UIItemSelector("Language");
selector.setItemCategories(contientsCategories);
selector.setRendered(true);
addChild(selector);
}