public function findDefaultSort()
	{
		if (!empty($this->sort)) {
			return;
		}

		if ($this->getSessionData('_grid_has_sorted')) {
			return;
		}

		if (!empty($this->default_sort)) {
			$this->sort = $this->default_sort;
		}

		$this->saveSessionData('_grid_sort', $this->sort);
	}
public function findDefaultSort()
	{
		if (!empty($this->sort)) {
			return;
		}

		if ($this->getSessionData('_grid_has_sorted')) {
			return;
		}

		if (!empty($this->default_sort)) {
			$this->sort = $this->default_sort;
		}

		$this->saveSessionData('_grid_sort', $this->sort);
	}
public function findDefaultSort ( ) { if ( ! empty ( $ this -> sort ) ) { return ; } if ( $ this -> getSessionData ( '_grid_has_sorted' ) ) { return ; } if ( ! empty ( $ this -> default_sort ) ) { $ this -> sort = $ this -> default_sort ; } $ this -> saveSessionData ( '_grid_sort' , $ this -> sort ) ; }
User may set default sorting, apply it
@return void
User may set default sorting apply it