I have array like, and I need to sort array by date using array key In the first key of array is userid and under this array some left and right values related to date but I have problem in shorting array by date asc order
Array(
[7074471] => Array
(
[2017-12-16] => Array
(
[Left] => 5
)
[2017-12-20] => Array
(
[Left] => 2
[Right] => 2
)
[2017-12-21] => Array
(
[Left] => 1
)
[2017-12-23] => Array
(
[Left] => 4
[Right] => 1
)
[2017-12-17] => Array
(
[Right] => 0
)
[2017-12-19] => Array
(
[Right] => 3
)
)
}