You can overload operator < and let it behave differently according to user input. Just add a few flags to your class and do the sorting according to those flags.
You can overload operator < and let it behave differently according to user input. Just add a few flags to your class and do the sorting according to those flags.
Bookmarks