How can i sort a vector which has strings and while sorting it to change data simultaneously in 2 other vectors?
eg.
vector 1 vector 2 vector 3
NewYork 25 1935
Athens 43 1990

I want it to be like this:
Athens 43 1990
NewYork 25 1935


I want to sort here theese 3 vectors but i dont know how...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.