Sorting by attachment now works consistently

Historical

The sort by attachment (Att heading) on the mailbox screen would sometimes not work consistently. This has now been fixed.