That is what grouping does. If you are grouping by two names and they are
identical then you need another field to group by. Do you have some unique
value associated with the names?
If so, try
Sorting by the names (to give you the order you desire) and then
Grouping by the unique value.
Use the sorting and grouping dialog of the report. (View: Sorting and
Grouping)