I have this array of arrays,
Array
(
[0] => Array
    (
        [id] => 1
        [title] => AP-2 (1)
    )
[1] => Array
    (
        [id] => 2
        [title] => AC-1 (2)
    )
[2] => Array
    (
        [id] => 3
        [title] => AB-3 (1)
    )
[3] => Array
    (
        [id] => 4
        [title] => AD-2 (3)
    )
[4] => Array
    (
        [id] => 5
        [title] => AE-2 (1)
    )
),
and I need to sort it in a way in which it will look like this,
Array
(
[0] => Array
    (
        [id] => 1
        [title] => AB-3 (1)
    )
[1] => Array
    (
        [id] => 2
        [title] => AC-1 (2)
    )
[2] => Array
    (
        [id] => 3
        [title] => AD-2 (3)
    )
[3] => Array
    (
        [id] => 4
        [title] => AE-2 (1)
    )
[4] => Array
    (
        [id] => 5
        [title] => AP-2 (1)
    )
)
What happened here is basically, sort the arrays using the title key alphabetically or maybe sort it using natsort() or natcasesort(). How would I actually do the sorting? Thanks in advance.
 
    