If I have a table of 75 workers in a table set up as such:
workerTable wt[200];
where the workers have the following info saved to them:
1 2
char name[26];
double salary;
how do I set up up the table to sort the workers by salary? I though of using something like this: sort(wt.begin(), wt.end()); but apaprently I need to compare the salaries using <.