Sort does not use std::swap anymore