sort entities in log by name