I have a Nested string array, below it's just an example a nested string array, This nested array cant be sorted alphabetically, because of that I created a Numbered array that corresponds to each nested string array.
To be clear the nested array cannot be sorted alphabetically so dont provide answers regarding that.
What Im trying to do, But don't understand how to achieve is to sort my int array from smallest to largest.
From there or at the same time short the nest array based on the Int arrays index changed
Nested String Array Example (Array Size Is Dynamic)
[["ddd"],["aaa"],["ggg"]]
Int Array Example (Array Size Is Dynamic)
[557, 147, 355]
After Sorting Both would look like this
[["aaa"],["ggg"], ["ddd"]]
[147, 355, 557]