How to change the default sort behavior
By default Atmail 6 sorts all emails on the UID (received date) of the message to the server.
Some clients prefer to sort emails from the "date" header specified in the email, vs the received time to the mailbox.
To do so edit:
application/modules/mail/controllers/MailController.php
Change:
if( !isset($this->session->sort) )
{
$this->session->sort = 'UID';
}
To:
if( !isset($this->session->sort) )
{
$this->session->sort = 'Date';
}
You can also specify the default sort behavior to Subject, From. And remember, you can change the sort order anytime via the 2-pane UI, click the message headers to sort.

