Peng,
Yes, this seems inconsistent, however, I am guessing this is done on purpose to compare the predicteds (for example, the males are a hold-out set for the predicteds based upon females and vice versa.
To create a single column of Predicteds based upon the Group By model create a new column with a formula or set each value expression
If( :sex=="M", column for the male predicteds, :sex=="F", column for the male predicteds);
If you want a column that looks like the residual columns, then create a columnm for males and use an expression like
If( :sex=="M", column for the male predicteds, empty() );
Then do the same for females.