I have a multi-dimensional array that I need to reorder.

I need to sort the array so that the first thing that will take into account the LEVEL, then SECTION, where SECTION is equal to the ID of the previous element.

Can someone help me? 
Thanks. 
Here is the array:

```
Array
(
    [0] => Array
        (
            [LEVEL] => 1
            [ID] => 1_1
            [SECTION] => _
        )
    [1] => Array
        (
            [LEVEL] => 1
            [ID] => 1_2
            [SECTION] => _
        )
    [2] => Array
        (
            [LEVEL] => 2
            [ID] => 2_1
            [SECTION] => 1_1
        )
    [3] => Array
        (
            [LEVEL] => 2
            [ID] => 2_2
            [SECTION] => 1_2
        )
    [4] => Array
        (
            [LEVEL] => 3
            [ID] => 3_1
            [SECTION] => 2_1
        )
    [5] => Array
        (
            [LEVEL] => 3
            [ID] => 3_2
            [SECTION] => 2_2
        )

```

and here is the result I need:

```
Array
(
    [0] => Array
        (
            [LEVEL] => 1
            [ID] => 1_1
            [SECTION] => _
        )
    [2] => Array
        (
            [LEVEL] => 2
            [ID] => 2_1
            [SECTION] => 1_1
        )
    [4] => Array
        (
            [LEVEL] => 3
            [ID] => 3_1
            [SECTION] => 2_1
        )
    [1] => Array
        (
            [LEVEL] => 1
            [ID] => 1_2
            [SECTION] => _
        )
    [3] => Array
        (
            [LEVEL] => 2
            [ID] => 2_2
            [SECTION] => 1_2
        )
    [5] => Array
        (
            [LEVEL] => 3
            [ID] => 3_2
            [SECTION] => 2_2
        )

```