$clothes = array( 'hats' => 75, 'coats' => 32, 'shoes' => 102,); uasort($clothes, 'evenfirst'); var_export($clothes); printf("Most items: %d; least items: %d.\n", max($clothes), min($clothes));?>
Most items: %d; least items: %d.