Strange to see std::sort(), auto_ptr and RAII on the same page, when that combination was always broken.
auto_ptr is not used in the example that uses sort(), so "on the same page" is doing a bit of lifting here.
He's using auto_ptr to demonstrate RAII, which is fine. I would assume that the use of auto_ptr indicates that the example was written some time ago.
I actually don't know (at least I don't think I do) the full story here, can you elaborate?