C#
Code
# Code
```csharp []
public class Solution {
    public int[] SortJumbled(int[] mapping, int[] nums)
 {
     List<Tuple<int, int>> storePairs = new List<Tuple<int, int>>();

     for (int i = 0; i < nums.Length; ++i)
     {
         // Convert current value to string
         string number = nums[i].ToString();
         string formed = "";
         for (int j = 0; j < number.Length; ++j)
         {
             formed += mapping[number[j] - '0'].ToString();
         }
         // Store the mapped value.
         int mappedValue = int.Parse(formed);
         // Push a pair consisting of mapped value and original value's index.
         storePairs.Add(new Tuple<int, int>(mappedValue, i));
     }

     // Sort the list in non-decreasing order by the first value (default).
     storePairs.Sort((x, y) => x.Item1.CompareTo(y.Item1));

     int[] answer = new int[nums.Length];
     for (int i = 0; i < storePairs.Count; i++)
     {
         answer[i] = nums[storePairs[i].Item2];
     }
     return answer;
 }
}
```
['C#']