Sort entitynames