Here is a link on how to add and use custom fields in tickets.
http://portal.smartertools.com/kb/a2535/create-and-use-custom-fields-in-tickets.aspx
After you add a custom field to a template you can change your view in SmarterMail to show this custom filed and sort by it.