I do have the Female GP mod units in the mix. I was thinking that might be the cause because it adds a second set of great people with a "female" tag. So there is a male and female version of great people in the XML, and I'll bet a nickel that you're right, and the CvGameTextMgr.cpp is counting them twice.Those lines are added in CvGameTextMgr.cpp. Do you have the female great people mod? I'll take a look at that section of code this weekend and see what's up. I think it loops through great people types--not units types, so my first guess is probably wrong.
There is a modified sort routine in the CvPediaMain.py, and CvPediaUnit.py files (by SaibotLieh), and these need to be in the Screens folder so that the units don't show twice in the 'pedia. I'm porting those over to the Sevopedia to eliminate the unnecessary duplicate files and to streamline everything.
I'm on one of the hotel's "courtesy" computers atm, since I didn't drag the laptop across the pond. (Silly me!

