I would like to sort the following 2D array according the field year?
Array
(
[0] => Array
(
    [from] => 44.91
    [to] => 53.56
    [next] => 108.88
    [year] => 2011
), 
[1] => Array
(
    [from] => 44.44
    [next] => 53.16
    [year] => 2010
), 
[2] => Array
(
    [from] => 42.83
    [next] => 51.36
    [year] => 2012
)
);
So the desired result will be:
Array
(
[1] => Array
(
    [from] => 44.44
    [next] => 53.16
    [year] => 2010
), 
[0] => Array
(
    [from] => 44.91
    [to] => 53.56
    [next] => 108.88
    [year] => 2011
),
[2] => Array
(
    [from] => 42.83
    [next] => 51.36
    [year] => 2012
)
);
 
     
    