Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given two integer arrays nums1 and nums2 both of the same length. The advantage of nums1 with respect to nums2 is the number of indices i for which nums1[i] > nums2[i].
Return any permutation of nums1 that maximizes its advantage with respect to nums2.
 
Please complete the following python code precisely:
```python
class Solution:
    def advantageCount(self, nums1: List[int], nums2: List[int]) -> List[int]:
```