public static function groupSort(
      &$array,
      $property = null,
      $caseSensitive = false,
      $reverse = false
  ) {
    Nymph::hsort($array, $property, 'parent', $caseSensitive, $reverse);
  }
public static function groupSort(
      &$array,
      $property = null,
      $caseSensitive = false,
      $reverse = false
  ) {
    Nymph::hsort($array, $property, 'parent', $caseSensitive, $reverse);
  }
public static function groupSort ( & $ array , $ property = null , $ caseSensitive = false , $ reverse = false ) { Nymph :: hsort ( $ array , $ property , 'parent' , $ caseSensitive , $ reverse ) ; }
Sort an array of groups hierarchically.

An additional property of the groups can be used to sort them under their
parents.

@param array &$array The array of groups.
@param string|null $property The name of the property to sort groups by.
Null for no additional sorting.
@param bool $caseSensitive Sort case sensitively.
@param bool $reverse Reverse the sort order.
Sort an array of groups hierarchically .