Thank you. Zhuge. I will try the ">" overload.
But my question is the syntax. I would word the question differently.
By default, map container has the elements sorted in ascending order.
std::map<int, std::string, std::greater<int> > will sort the element in
descending order. But If I use class type as the key, what would be the syntax be? Some thing like