Symfony\Component\Intl\Collator\Collator::asort
Sort array maintaining index association
Signature
public function asort(&
$array,
[integer
$sortFlag = self::SORT_REGULAR] )
Parameters
$array
—$sortFlag
— integer- Flags for sorting, can be one of the following:
Collator::SORT_REGULAR - compare items normally (don't change types)
Collator::SORT_NUMERIC - compare items numerically
Collator::SORT_STRING - compare items as strings
Returns
- Boolean
- True on success or false on failure