Simple C++ Comperator
\nclass Solution {\n    \n    static bool comp(string a, string b) {\n        return (a.length() < b.length() || (a.length() == b.length() && a < b));    \n    
```\nclass Solution {\n    \n    static bool comp(string a, string b) {\n        return (a.length() < b.length() || (a.length() == b.length() && a < b));    \n    }\n    \npublic:\n    string kthLargestNumber(vector<string>& nums, int k) {\n        sort(nums.begin(), nums.end(), comp);\n        return nums[nums.size() - k];\n    }\n};\n```
[]