An requires the use of an overloaded () operator for a comparator class.

1. Would someone explain the purpose and benefits for overloading the ()?

2. Please provide a code fragment that shows an example for a declaration and implementation.

Thanks