select distinct replace(grupo,' ','_' ) as "group", grupo as "name" from tv where permiso = 1 order by orden;