> And you can override that in a controller action by changing > $this->paginate['order'] before calling $this->paginate(). >
But that is not what I want to do. I want the order of the $result array to be preserved. At present if I specify 'Model.field'=>'ASC', then I will get 1,2,3,4,5 rather than 1,5,3,4,2 , which is what I am after. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
