fixed warnings
sorted items, cached Idents instead of strings