sort entity types by name