Hi,
I have a collection(vector) containing strings.
String is of the format like : 1~bat~34.
eg: 1~qual~34
29~qual~39
3~pend~89
4~sub~24
5~notqual~28
Now, I want these things in order. It means sub should be first, then qual,then pend, then notqual.
Wanted order is like this : 4~sub~24 then 1~qual~34 then 29~qual~39,then 3~pend~89 then 5~notqual~28. can anyone tell me how to do this.
I have a collection(vector) containing strings.
String is of the format like : 1~bat~34.
eg: 1~qual~34
29~qual~39
3~pend~89
4~sub~24
5~notqual~28
Now, I want these things in order. It means sub should be first, then qual,then pend, then notqual.
Wanted order is like this : 4~sub~24 then 1~qual~34 then 29~qual~39,then 3~pend~89 then 5~notqual~28. can anyone tell me how to do this.