Lines Matching full:sort
39 * Where to sort in?
116 case 'sort':
118 $sort = $column['key'];
119 if(substr($sort,0,1) == '^'){
120 $data['sort'] = array(substr($sort,1),'DESC');
122 $data['sort'] = array($sort,'ASC');
204 sort($values);
239 // add sort arrow
240 if(isset($data['sort']) && $ckey == $data['sort'][0]){
241 if($data['sort'][1] == 'ASC'){
256 '" title="'.$this->getLang('sort').'">'.hsc($head).'</a>';
363 if(isset($data['sort'])){
364 $col = $data['sort'][0];
367 $order = 'ORDER BY '.$data['sort'][1].'(?page)';
369 $order = 'ORDER BY '.$data['sort'][1].'(?class)';
371 $order = 'ORDER BY '.$data['sort'][1].'(?title)';
373 // sort by hidden column?
380 $order = sprintf('ORDER BY %s(?%ss)',$data['sort'][1],$tables[$col]);
459 $data['sort'] = array(substr($_REQUEST['datasrt'],1),'DESC');
461 $data['sort'] = array($_REQUEST['datasrt'],'ASC');