I have a multi array that look like that:
Array (
[0] => Array(
[0] = Number;
),
[1] => Array(
[0] = Number;
)
)
And I want to sort it by the "Number" organ For exmaple if I have:
Array (
[0] => Array(
[0] = 2;
),
[1] => Array(
[0] = 1;
)
)
I want to get:
Array (
[0] => Array(
[0] = 1;
),
[1] => Array(
[0] = 2;
)
)
I have more content in this arrays, I just wrote what need to be sort
How can I do that?