<?php $x = array( 'c' => 100, 'a' => 300, 'b' => 50, 'd' => 250); arsort( $x ); var_dump( $x );
You have javascript disabled. You will not be able to edit any code.