# Blog behaviour - generating and order list of post

**URL:** <https://www.ruby-forum.com/t/blog-behaviour-generating-and-order-list-of-post/69633>\
**Category:** Radiant CMS\
**Created:** [September 22, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/blog-behaviour-generating-and-order-list-of-post/69633 "2006-09-22T15:49:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piero\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c5a1d2/32.png) [@Piero\_C](https://www.ruby-forum.com/u/Piero_C)\
**Post date:** [September 22, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/blog-behaviour-generating-and-order-list-of-post/69633/1 "2006-09-22T15:49:19Z")

</div>

Hi,  
i am experimenting with Radiant. I have a set of blog categories (XXX,  
YYY,  
ZZZ) and a set of post for each category. Each category has the  
“Archive”  
behaviour os their url is something like /2006/09/…’.  
My problem is:  
on the frontpage I’d like to show latest posts (by date) from all  
categories. How can I do this?

I tried:

\<r:children:each order=“desc”\>  
\<r:child\>  
\<r:children:each order=“desc” \>

### 

but it shows latest posts by each category ! Is there a solution?

---

<div class="post-metadata">

**Author:** ![Piero\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c5a1d2/32.png) [@Piero\_C](https://www.ruby-forum.com/u/Piero_C)\
**Post date:** [September 23, 2006, 12:08am UTC](https://www.ruby-forum.com/t/blog-behaviour-generating-and-order-list-of-post/69633/2 "2006-09-23T00:08:36Z")

</div>

define a new tag, in a behavior or global, that searches through the  
database, in this way you can easily define the posts/children to be  
ordered  
by date, type or others.
