I have an array like this:

```
var arr = [
   {a: 1, b: ['apple', 'banana', 'orange', 'mango'], c: [42, 7, 18, 5]},
   {a: 2, b: ['apple', 'banana', 'orange', 'mango'], c: [4, 101, 88, 3]},
   {a: 3, b: ['apple', 'banana', 'orange', 'mango'], c: [14, 10, 5, 12]},
   {a: 4, b: ['apple', 'banana', 'orange', 'mango'], c: [99, 2, 105, 101]}
];

```

I need to sort both `arr[x].b` and `arr[x].c` depending on `arr[x].c` values, if that makes sense. So, the final array should look like this:

```
arr = [
   {a: 1, b: ['mango', 'banana', 'orange', 'apple'], c: [5, 7, 18, 42]},
   {a: 2, b: ['mango', 'apple', 'orange', 'banana'], c: [3, 4, 88, 101]},
   {a: 3, b: ['orange', 'banana', 'mango', 'apple'], c: [5, 10, 12, 14]},
   {a: 4, b: ['banana', 'apple', 'mango', 'orange'], c: [2, 99, 101, 105]}
];

```