I'm using a site that was built using Smarty. I didn't type the code myself and I'm not very familiar with it so I'm hoping someone could help me out here.

The site has posts (confessions) and people are able to leave comments, but the comments sometimes appear out of order. I would like to have them sorted in ascending order either by their child id or by date.

Here's what I want to fix:

PHP Code:
<p>{$child->body2|nl2br}</p
The answer might come from one of these,

Parent ID
PHP Code:
{$item->id
Time Ago in Smarty:
PHP Code:
{$item->timeago
Thank you