public function makeFirst($item)
    {
        if (isset($this->items[$item])) {
            $this->items = [ $item => $this->items[$item] ] + $this->items;
        }

        return $this;
    }
public function makeFirst($item)
    {
        if (isset($this->items[$item])) {
            $this->items = [ $item => $this->items[$item] ] + $this->items;
        }

        return $this;
    }
public function makeFirst ( $ item ) { if ( isset ( $ this -> items [ $ item ] ) ) { $ this -> items = [ $ item => $ this -> items [ $ item ] ] + $ this -> items ; } return $ this ; }
Makes the given item to be sorted first on the collection.

@param  string  $item
@return $this
Makes the given item to be sorted first on the collection .