
Lets say we have this table
id | company_name | segment | relevance
1 | bbbbbbbbbbbb | industry | 50
2 | cccccccccccccc | industry | 100
3 | aaaaaaaaaaaa | commerce | 25
4 | dddddddddddd | goverment | 10
And we try to order like this:
$crud->order_by('segment','asc');
$crud->order_by('relevance','desc');
$crud->order_by('company_name','asc');
It 'll only order by the LAST order_by you put and totally ignore the rest.
AMEN ?