classes/phing/filters/SortFilter.php
public function chain(Reader $rdr)
    {
        $newFilter = new SortFilter($rdr);
        $newFilter->setReverse($this->isReverse());
        $newFilter->setInitialized(true);
        return $newFilter;
    }
public function chain(Reader $rdr)
    {
        $newFilter = new SortFilter($rdr);
        $newFilter->setReverse($this->isReverse());
        $newFilter->setInitialized(true);
        return $newFilter;
    }
public function chain ( Reader $ rdr ) { $ newFilter = new SortFilter ( $ rdr ) ; $ newFilter -> setReverse ( $ this -> isReverse ( ) ) ; $ newFilter -> setInitialized ( true ) ; return $ newFilter ; }
Creates a new SortReader using the passed in Reader for instantiation.

@param Reader $rdr
A Reader object providing the underlying stream. Must not be
<code>null</code>.

@return SortFilter a new filter based on this configuration, but filtering the
specified reader
Creates a new SortReader using the passed in Reader for instantiation .