The php ArrayObject ksort function is used to sort the elements of an array using their keys. The ksort function can be used to sort an array in ascending order of keys. It takes a single argument- the name of the array to be sorted.
Syntax: ksort(array $array [, int $sort_flags = SORT_REGULAR])
The package library for this function is the PHP Standard Library.
PHP ArrayObject::ksort - 16 examples found. These are the top rated real world PHP examples of ArrayObject::ksort extracted from open source projects. You can rate examples to help us improve the quality of examples.