Easy to Understand Python Solution
\nclass Solution:\n    def frequencySort(self, nums: List[int]) -> List[int]:\n        nums.sort(reverse=True)\n\n        res = sorted(nums, key=nums.count)\n  
```\nclass Solution:\n    def frequencySort(self, nums: List[int]) -> List[int]:\n        nums.sort(reverse=True)\n\n        res = sorted(nums, key=nums.count)\n        return res\n```
['Python']