I was searching longer now and can't find some suitable like I guess.
I am sure the question must have an answere somewere here but I really can't find it :(
I have this none associative array and I want to sort it by the given timestamp
[data] => Array
(
[0] => Array
(
[0] => 1415228400000 //sort by this value
[1] => 9826.5
)
[1] => Array
(
[0] => 1415401200000
[1] => 29197.95
)
[2] => Array
(
[0] => 1417561200000
[1] => 3916.35
)
[3] => Array
(
[0] => 1415142000000
[1] => 22120
)
[4] => Array
(
[0] => 1414796400000
[1] => 28345.35
)
[5] => Array
(
[0] => 1420412400000
[1] => 858
)
[6] => Array
(
[0] => 1423004400000
[1] => 132
)
[7] => Array
(
[0] => 1423522800000
[1] => 0
)
[8] => Array
(
[0] => 1424214000000
[1] => 231
)
[9] => Array
(
[0] => 1425510000000
[1] => 123.45
)
[10] => Array
(
[0] => 1425596400000
[1] => 2223.45
)
)
The thing is, I have to sort it in the third dimension, how can I do this?