3v4l.org

run code in 300+ PHP versions simultaneously
<?php $layout_array = array ( 0 => array ( 'row_identifier' => 'home', 'row_text_title' => 'home', 'original_row_position' => 1, 'row_position' => 1, 'row_show' => 'yes', 'row_link_ref' => 'https://demo.ul', 'button_styling' => 'off', 'tab' => 'self' ), 1 => array ( 'row_identifier' => 'benefits', 'row_text_title' => 'benefits', 'row_link_ref' => '#benefits', 'button_styling' => 'off', 'tab' => 'self', 'row_position' => 2, 'original_row_position' => 2, 'row_show' => 'yes' ), 3 => array ( 'row_identifier' => 'about', 'row_text_title' => 'about', 'row_link_ref' => '#about', 'button_styling' => 'off', 'tab' => 'self', 'row_show' => 'no' ), 4 => array ( 'row_identifier' => 'team', 'row_text_title' => 'team', 'row_link_ref' => '#team', 'button_styling' => 'off', 'tab' => 'self', 'row_position' => 4, 'original_row_position' => 4, 'row_show' => 'yes' ) ); $sort_by_column = 'row_identifier'; array_multisort(array_column($layout_array, $sort_by_column), $layout_array); print_r($layout_array);

preferences:
27.87 ms | 406 KiB | 5 Q