original_string: protected static function sortItems(array &$items)
      {
          usort($items, function ($a, $b)
          {
              if ($a['order'] === $b['order']) {
                  return 0;
              }
  
              return ($a['order'] < $b['order']) ? -1 : 1;
          });
      }
code: protected static function sortItems(array &$items)
      {
          usort($items, function ($a, $b)
          {
              if ($a['order'] === $b['order']) {
                  return 0;
              }
  
              return ($a['order'] < $b['order']) ? -1 : 1;
          });
      }
code_tokens: protected static function sortItems ( array & $ items ) { usort ( $ items , function ( $ a , $ b ) { if ( $ a [ 'order' ] === $ b [ 'order' ] ) { return 0 ; } return ( $ a [ 'order' ] < $ b [ 'order' ] ) ? - 1 : 1 ; } ) ; }
docstring: Sort the given items by their order.
  
  @param  array $items
  
  @return void
docstring_tokens: Sort the given items by their order .