I am trying to sort this array by season_number however I am not really sure which function to use as I assume I need a custom sort? Any ideas?
Array
(
[0] => Array
(
[season_number] => 7
[show_id] => 21
[show_seasons_id] => 14
)
[1] => Array
(
[season_number] => 6
[show_id] => 21
[show_seasons_id] => 31
)
[2] => Array
(
[season_number] => 1
[show_id] => 21
[show_seasons_id] => 40
)
[3] => Array
(
[season_number] => 2
[show_id] => 21
[show_seasons_id] => 41
)
)