original_string: public function sortKeys( int $options = SORT_REGULAR, bool $desc = false )
  	{
  		$items = $this->items;
  		$desc ? krsort($items, $options) : ksort($items, $options);
  		return new static($items);
  	}
code: public function sortKeys( int $options = SORT_REGULAR, bool $desc = false )
  	{
  		$items = $this->items;
  		$desc ? krsort($items, $options) : ksort($items, $options);
  		return new static($items);
  	}
code_tokens: public function sortKeys ( int $ options = SORT_REGULAR , bool $ desc = false ) { $ items = $ this -> items ; $ desc ? krsort ( $ items , $ options ) : ksort ( $ items , $ options ) ; return new static ( $ items ) ; }
docstring: Sort an collection by key
  
  @param int $options Sorting type flags
  @param bool $desc In reverse order
  @return static
docstring_tokens: Sort an collection by key