Place entities without a name last in the entity tree