Lines Matching full:sort
15 use dokuwiki\Utf8\Sort;
31 * @param string $sort
37 function ft_pageSearch($query, &$highlight, $sort = null, $after = null, $before = null)
40 if ($sort === null) {
41 $sort = 'hits';
45 'sort' => $sort,
166 if ($data['sort'] === 'mtime') {
169 // sort docs by count
203 Sort::sort($result);
237 Sort::sort($result);
406 * Sort pages based on their namespace level first, then on their string
423 return Sort::strcmp($a, $b);
427 * Sort pages by their mtime, from newest to oldest