Put the C++ code in order
}class Solution { result.push_back(group); string key = s; unordered_map<string, vector<string>> map; map[key].push_back(s);public: for (auto& [key, group] : map) { return result; vector<vector<string>> groupAnagrams(vector<string>& strs) { for (const string& s : strs) { } vector<vector<string>> result; sort(key.begin(), key.end());}; }