One line solutions
\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        return sorted(nums, key= lambda n: reduce(lambda m, i: 
```\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        return sorted(nums, key= lambda n: reduce(lambda m, i: m*10+mapping[int(i)], str(n), 0))\n```\n```\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        return sorted(nums, key= lambda n: int(\'\'.join(str(mapping[int(i)]) for i in str(n))))\n```\n```\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        return (d:=dict(zip(digits, map(str, mapping)))) and sorted(nums, key= lambda n: int(\'\'.join(d[i] for i in str(n))))\n```
['Python3']