public __construct ( |
||
$table | The table to eventually filter. | |
$columnToSort | string | The name of the column to sort by. |
$order | string | order `'asc'` or `'desc'`. |
$naturalSort | boolean | Whether to use a natural sort or not (see {@link http://php.net/natsort}). |
$recursiveSort | boolean | Whether to sort all subtables or not. |
$doSortBySecondaryColumn | boolean | If true will sort by a secondary column. The column is automatically detected and will be either nb_visits or label, if possible. |