I have the code below:
$firm_ids = array(81, 96, 18, 5, 105);
$this->paginate = array(
'conditions' => array('Firm.id' => $firm_ids),
'limit' => 10,
);
$this->set('firms', $this->paginate('Firm'));
In the results I have the ordering in:
5, 18, 81, 95, 105
How do I disable the default order if I want to order as initial array ordering?
I found a workaround on some forum, see if this works: