Python solution
Code


# Code
```python3 []
class Solution:
    def reverseOrder(self, c):
        return ord('z') - ord(c) +1
    def reverseDegree(self, s: str) -> int:
        sum = 0
        for i,c in enumerate(s):
            index = self.reverseOrder(c)
            index_in_s = i+1
            sum += (index_in_s * index)
        return sum
            
        
```
['Python3']