C++ csv sort