i have have a class with a set of object pointers and i want to save theme in sorted order by their some field(id). i have this block in my main code :
std::s