Welcome to the world of Cake :) You have no idea how good your choice
of framework was given the multitude of choices out there...
I haven't tested this but it'll be something along the lines of:
$this->set('posts', $this->Post->findAll(null,null,'id DESC'));
also play around with options such as
modified
title
title DESC
hope this helps
Steve.
On Jan 20, 2:47 pm, justradar <[EMAIL PROTECTED]> wrote:
> Hi, i'm new to PHP and to Cake, definitely a newbie.
>
> I just went thru the Simple Blog tutorial and successfully created the
> app. Great.
>
> Now i'm trying to customize it and i'd like to change the sorting
> order, it seems to display by ID ... starting with 1, followed by 2,
> etc.
>
> How do i reverse the sorting order? or how can i control this.
>
> -thanks very much
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---