Dramatically improve performance when sorting vectors of PointerTo objects