Ah, I see. Then you should without a doubt follow laserlight's advice and use a custom comparator that incorporates string length. I think std::sort() actually has an implementation of this, doesn't...
Type: Posts; User: MutantJohn
Ah, I see. Then you should without a doubt follow laserlight's advice and use a custom comparator that incorporates string length. I think std::sort() actually has an implementation of this, doesn't...
What does that code output now?