Change sort on main "at a glance page"

I want to change the main page sort to be by priority
descending and within priority by ticket # ascending.

I have the priority part, but don’t know how to apply
the ticket number sort within the priority.

Here is how I did the priority part:

stop apache

Change /opt/rt3/share/html/Elements/MyTickets

FROM:
$QueryString = ‘?’ . $m->comp(‘/Elements/QueryString’,
Query =>
$Query, Order => ‘DESC’, OrderBy => ‘Priority’) if
($Query);

TO:
$QueryString = ‘?’ . $m->comp(‘/Elements/QueryString’,
Query =>
$Query, Order => ‘ASC’, OrderBy => ‘Priority’) if
($Query);

rm -rf /opt/rt3/var/mason_data/obj then restart
apache.

Thanks for any help.

Yahoo! Mail - PC Magazine Editors’ Choice 2005