SELECT id_empresa FROM empresas WHERE activo = "1" ORDER BY nombre: