original_string: public function sortKey($model = null, array $options = [])
      {
          if (empty($options)) {
              $options = $this->params($model);
          }
          if (!empty($options['sort'])) {
              return $options['sort'];
          }
  
          return null;
      }
code: public function sortKey($model = null, array $options = [])
      {
          if (empty($options)) {
              $options = $this->params($model);
          }
          if (!empty($options['sort'])) {
              return $options['sort'];
          }
  
          return null;
      }
code_tokens: public function sortKey ( $ model = null , array $ options = [ ] ) { if ( empty ( $ options ) ) { $ options = $ this -> params ( $ model ) ; } if ( ! empty ( $ options [ 'sort' ] ) ) { return $ options [ 'sort' ] ; } return null ; }
docstring: Gets the current key by which the recordset is sorted
  
  @param string|null $model Optional model name. Uses the default if none is specified.
  @param array $options Options for pagination links. See #options for list of keys.
  @return string|null The name of the key by which the recordset is being sorted, or
  null if the results are not currently sorted.
  @link https://book.cakephp.org/3.0/en/views/helpers/paginator.html#creating-sort-links
docstring_tokens: Gets the current key by which the recordset is sorted