import org.simantics.diagram.symbollibrary.ISymbolGroup;
import org.simantics.diagram.symbollibrary.ISymbolItem;
import org.simantics.layer0.Layer0;
+import org.simantics.utils.strings.AlphanumComparator;
/**
* A basic SymbolProviderFactory implementation for the graph database. It is
Collections.sort(items, new Comparator<ISymbolItem>() {
@Override
public int compare(ISymbolItem o1, ISymbolItem o2) {
- return o1.getName().compareToIgnoreCase(o2.getName());
+ return AlphanumComparator.CASE_INSENSITIVE_COMPARATOR.compare(o1.getName(), o2.getName());
}
});