Stabilize sort of search email identifiers: Bug #733271

Without stabilization, it was possible for multiple emails in search
results with the same INTERNALDATE to be dropped due to the equality.