Function

ksort

Synopsis

ksort(mixed, mixed ...): bool

Area
Runtime\PS\Core\Arrays\Sort\ksortareas

Description

ksort sorts $array in place by key ascending with PHP's default comparison, keeping each key attached to its value.

Usage

$value = ksort($arguments);
$fn = ksort(...);

See also