public static function hsort(
      &$array,
      $property = null,
      $parentProperty = null,
      $caseSensitive = false,
      $reverse = false
  ) {
    return self::$driver->hsort(
        $array,
        $property,
        $parentProperty,
        $caseSensitive,
        $reverse
    );
  }
public static function hsort(
      &$array,
      $property = null,
      $parentProperty = null,
      $caseSensitive = false,
      $reverse = false
  ) {
    return self::$driver->hsort(
        $array,
        $property,
        $parentProperty,
        $caseSensitive,
        $reverse
    );
  }
public static function hsort ( & $ array , $ property = null , $ parentProperty = null , $ caseSensitive = false , $ reverse = false ) { return self :: $ driver -> hsort ( $ array , $ property , $ parentProperty , $ caseSensitive , $ reverse ) ; }
Sort an array of entities hierarchically by a specified property's value.

Entities will be placed immediately after their parents. The
$parentProperty property must hold either null, or the entity's parent.

@param array &$array The array of entities.
@param string|null $property The name of the property to sort entities by.
@param string|null $parentProperty The name of the property which holds the
parent of the entity.
@param bool $caseSensitive Sort case sensitively.
@param bool $reverse Reverse the sort order.
Sort an array of entities hierarchically by a specified property s value .