Python. Beats 98%, 2 lines.
Intuition\nThere is no intuition, just follow task\'s instructions ;)\nDefinaley not Medium level.\n\n\n\n# Approach\n Describe your approach to solving the pro
# Intuition\nThere is no intuition, just follow task\'s instructions ;)\nDefinaley not Medium level.\n\n\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\nO(NLogN)\n\n- Space complexity:\nO(N)\n\n# Code\n```\nclass Solution:\n    def sortJumbled(self, mapping: List[int], nums: List[int]) -> List[int]:\n        map = {str(pos):str(val) for pos, val in enumerate(mapping)}           \n        \n        return sorted(nums, key=lambda x: int("".join([map[ch] for ch in str(x)])))\n        \n```
['Python3']