Python Sol - Faster than 77.4% solution
\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        n = []\n        for i in nums:\n            s = ""\n   
```\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        n = []\n        for i in nums:\n            s = ""\n            l = list(str(i))\n            for j in l:\n                s += str(mapping[int(j)])\n            n.append([i, int(s)])\n        n.sort(key=lambda x: x[1])\n        final = []\n        for i in n:\n            final.append(i[0])\n        return final\n```\n\n
[]