Solve the programming task below in a Python markdown code block.
In this Kata, you will sort elements in an array by decreasing frequency of elements. If two elements have the same frequency, sort them by increasing value. 


More examples in test cases. 

Good luck!

Please also try [Simple time difference](https://www.codewars.com/kata/5b76a34ff71e5de9db0000f2)
Also feel free to reuse/extend the following starter code:
```python
def solve(arr):
```