2 ways to form sets of a new object type. Using the Employee class for our example.
bool operator< (const Employee& a, const Employee& b) { return a.salary() < b.salary(); } set<Employee> workers; // Will be sorted by salary