<?php $array = [ 'a' => 1, 'b' => 1 ]; arsort( $array ); var_dump( $array );
You have javascript disabled. You will not be able to edit any code.