I have a class containing simple information for a music library such as artist name, album title, then a vector<string> for tracktitle, and vector<string> for tracknumber (using a string for tracknumber because it is being read in from a text file)...
How can I sort the album alphabetically by track title while keeping the tracknumber inline with its specific track?
I know how to sort the the tracktitles, but tracknumbers stay in numerical order...