src/Jsonq.php
public function sort($order = 'asc')
    {
        if ($order == 'desc') {
            rsort($this->_map);
        }else{
            sort($this->_map);
        }

        return $this;
    }
public function sort($order = 'asc')
    {
        if ($order == 'desc') {
            rsort($this->_map);
        }else{
            sort($this->_map);
        }

        return $this;
    }
public function sort ( $ order = 'asc' ) { if ( $ order == 'desc' ) { rsort ( $ this -> _map ) ; } else { sort ( $ this -> _map ) ; } return $ this ; }
Sort an array value

@param string $order
@return Jsonq
Sort an array value