[sections] => stdClass Object
            (
                [22353] => stdClass Object
                    (
                        [id] => 2
                        [section_start_date] => 1410235200
                    )
                [22354] => stdClass Object
                    (
                        [id] => 1
                        [section_start_date] => 1410235260
                    )
)
How do I sort the above objects in PHP by the id, while preserving the keys of the sections object? For instance I want to show 22354 on top of 22353. Since these are objects the keys are technically just strings to me but I need to keep them in tact.
There is some confusion going on. These are objects which are not in an array. Pay close attention to the section object.
 
    