List<TemplateContextType> (Collection<? extends TemplateContextType> contextTypes) { return ContainerUtil.sorted(contextTypes, (o1, o2) -> StringUtil.compare(presentableName(o1), presentableName(o2), true)); }