You are here

public function ArrayObject::uksort in Express 8

Sort the entries by keys using a user-defined comparison function.

Parameters

mixed $function: A callable function.

File

themes/contrib/bootstrap/src/Utility/ArrayObject.php, line 387
Contains \Drupal\bootstrap\Utility\ArrayObject.

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Code

public function uksort($function) {
  if (is_callable($function)) {
    uksort($this->array, $function);
  }
}