swap() from vector