Quote Originally Posted by George Neil View Post
I tried the following code,
QStringList oStrlist;
oStrlist << "A_1" << "A_2" << "A_3" << "A_10" << "A_11";
oStrlist.sort();
This gives me a result like
A_1, A_10, A_11, A_2, A_3.
I need A_10, A_11 to come only after A_2, A_3. Is there any way to do this.
According to you, the list is sorted already
You can always do custom sorting. Click here for more info.