I am not sure, but try to make this: 1. Make alias for second (may be third) field: select ('PREGUNTA 1') as preguntas, pregunta_1 as pregunta_1, count(*) as cnt from form_app_001 union all ... 2. Set sort field preguntas and pregunta_1 in iReport ("Sort options" button in iReport) HTH