# Forcing children's display order

**URL:** <https://www.ruby-forum.com/t/forcing-childrens-display-order/85995>\
**Category:** Radiant CMS\
**Created:** [February 18, 2007, 8:11pm UTC](https://www.ruby-forum.com/t/forcing-childrens-display-order/85995 "2007-02-18T20:11:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Capouch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@Brian\_Capouch](https://www.ruby-forum.com/u/Brian_Capouch)\
**Post date:** [February 18, 2007, 8:11pm UTC](https://www.ruby-forum.com/t/forcing-childrens-display-order/85995/1 "2007-02-18T20:11:03Z")

</div>

I’m sorry to bother the list with this question.

Once upon a time I solved this; now I can’t remember how.

I want to specify the order in which the children of a particular page  
show in its “listing of links”

I haven’t quite figured out what the order is now–newest entry first,  
it looks like.

Other than deleting the page and then entering its contents in reverse  
order, is there any way for me to get to an arbitrary way to choose how  
children will appear?

Thanks.

B.

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.

---

<div class="post-metadata">

**Author:** ![Brian\_Capouch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc79bd/32.png) [@Brian\_Capouch](https://www.ruby-forum.com/u/Brian_Capouch)\
**Post date:** [February 18, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/forcing-childrens-display-order/85995/2 "2007-02-18T20:21:05Z")

</div>

Brian,

The \<r:children:each\> tag accepts the ‘order’ and ‘by’ attributes.  
‘order’ should be ‘asc’ or ‘desc’, and ‘by’ should be a valid column  
name for the pages table (Page model).

Sean
