public function sort()
    {
        $values = $this->toArray();
        ksort($values);
        
        $this->clear();
        
        foreach($values as $index => $value) {
            $this->set($index,$value);
        }
        
        return $this;
    }
public function sort()
    {
        $values = $this->toArray();
        ksort($values);
        
        $this->clear();
        
        foreach($values as $index => $value) {
            $this->set($index,$value);
        }
        
        return $this;
    }
public function sort ( ) { $ values = $ this -> toArray ( ) ; ksort ( $ values ) ; $ this -> clear ( ) ; foreach ( $ values as $ index => $ value ) { $ this -> set ( $ index , $ value ) ; } return $ this ; }
Sort the values using a ksort

@access public
@return ArrayCollection
Sort the values using a ksort