What's the best way in C++ to copy a pair from a map to vector? I'm doing this so I can subsequently sort the vector.