Python 1-liner
\nclass Solution:\n    def frequencySort(self, nums: List[int]) -> List[int]:\n        return sorted(sorted(nums,reverse=1),key=nums.count)\n
```\nclass Solution:\n    def frequencySort(self, nums: List[int]) -> List[int]:\n        return sorted(sorted(nums,reverse=1),key=nums.count)\n```
['Python', 'Python3']