I am running into a bad pointer problem when using std::sort() with a comparator functor. I am sorting an std::vector of class pointers. I sort the pointers against different class members depending ...