public function setSortingOrder($order, $write = true)
    {
        Symphony::Configuration()->set('section_' . $this->get('handle') . '_order', $order, 'sorting');

        if ($write) {
            Symphony::Configuration()->write();
        }
    }
public function setSortingOrder($order, $write = true)
    {
        Symphony::Configuration()->set('section_' . $this->get('handle') . '_order', $order, 'sorting');

        if ($write) {
            Symphony::Configuration()->write();
        }
    }
public function setSortingOrder ( $ order , $ write = true ) { Symphony :: Configuration ( ) -> set ( 'section_' . $ this -> get ( 'handle' ) . '_order' , $ order , 'sorting' ) ; if ( $ write ) { Symphony :: Configuration ( ) -> write ( ) ; } }
Saves the new sort order for this Section.

@since Symphony 2.3
@param string $order
Either 'asc' or 'desc'.
@param boolean $write
If false, the new settings won't be written on the configuration file.
Defaults to true.
Saves the new sort order for this Section .