[ C++ ] solution | Using Sorting
1985. Find the Kth Largest Integer in the Array\nMy github Repository\n\n##### APPROACH 1  \nSORTING\n\nExplanation :- \n  Check the length of both strings, \n\
[1985. Find the Kth Largest Integer in the Array](https://leetcode.com/problems/find-the-kth-largest-integer-in-the-array/)\n[My github Repository](https://github.com/Pritanjan/Leetcode)\n\n##### APPROACH 1  \n**SORTING**\n\n**Explanation :-** \n*  Check the length of both strings, \n\n*  if it is not equal than the string with larger size will be greater number, \n\n*  And if it is equal than proceed to step compare both the strings lexicographically.\n\nComparison in lexicographical order is done in the below way :-\n. For eg if a = "100" and b = "20", then b > a lexicographically.\n\n```\n\nclass Solution {\npublic:\n    // Lambda expression\n    static bool cmp(string &a, string &b){\n        if(a.size() == b.size())\n            return a<b;  //lexicographical comparision\n        else\n            return a.size() < b.size();\n    }\n        \n    string kthLargestNumber(vector<string>& A, int k) {\n        int n = A.size();\n        sort(A.begin(), A.end(), cmp);\n        return A[n-k];\n    }\n};\n\n\n```\n\n\n##### COMPLEXITY ANALYSIS : -\n* **Time Complexity : -**  O(N log N)\n* **Space Complexity :-**  O(1)\n\n<br>
['C', 'Sorting', 'C++']