I have an array, let it be called an "array", and inside the array I have such objects:
"0 Here is the object"
"4 Here is another object"
"2 Let here too!"
"1 What the hell is different here!"
"3 Let it be right here."
I would like to sort arrays by this number, so it will turn into this:
"0 Here is the object"
"1 What the hell is different here!"
"2 Let here too!"
"3 Let it be right here."
"4 Here is another object"
source
share