Someone might ask, "Why does element 24 have to go to the top of the series?" The answer is simply that this is just a basic example.
The test I conducted aimed to move the element with key 24 to the top while leaving the rest unchanged. As I mentioned, in my test, I was able to achieve what I wanted, so now I just need to recreate the initial situation.
The question, therefore, is: how can I place the associative array inside an array that contains everything?
To answer another question, the keys in the desired result are actually supposed to be 0
, 1
and 3 and so on, yes.