I have the following array, which I would like to reindex so the keys are reversed (ideally starting at 1):
Current array (edit: the array actually looks like this):
Array (
[2] => Object
    (
        [title] => Section
        [linked] => 1
    )
[1] => Object
    (
        [title] => Sub-Section
        [linked] => 1
    )
[0] => Object
    (
        [title] => Sub-Sub-Section
        [linked] => 
    )
)
How it should be:
Array (
[1] => Object
    (
        [title] => Section
        [linked] => 1
    )
[2] => Object
    (
        [title] => Sub-Section
        [linked] => 1
    )
[3] => Object
    (
        [title] => Sub-Sub-Section
        [linked] => 
    )
)