rem: mSortDate = cDate;  mSortArrival = QString( "%1" ).arg( mMsgId, 8, 36 ); mSortSender = text(mPaintInfo->senderCol).lower() + " " + mSortDate; mSortSubject = KMMsgBase::skipKeyword( text(mPaintInfo->subCol).lower() ) + " " + mSortDate;
add: mSortDate = cDate + mSortArrival; mSortSender = text(mPaintInfo->senderCol).lower() + " " + mSortArrival; mSortSubject = KMMsgBase::skipKeyword( text(mPaintInfo->subCol).lower() ) + " " + mSortArrival;
context:   void irefresh()  {    QString result;    KMMsgStatus flag;    QString fromStr, subjStr;    KMMsgBase *mMsgBase = mFolder->getMsgBase( mMsgId );    if(mMsgBase==NULL)       return;    flag = mMsgBase->status();    if (mPaintInfo->flagCol >= 0)      setText( mPaintInfo->flagCol, " " + QString( QChar( (char)flag )));    if (mFolder == kernel->outboxFolder() || mFolder == kernel->sentFolder())      fromStr = KMMessage::stripEmailAddr(mMsgBase->to());    else      fromStr = KMMessage::stripEmailAddr(mMsgBase->from());    if (fromStr.isEmpty()) fromStr = i18n("Unknown");    if (fromStr.isEmpty()) {      debug( QString("Null message %1").arg( mMsgId ) );    }    if (fromStr == i18n("Unknown")) {      debug( QString("Unknown message %1").arg( mMsgId ) );    }    setText( mPaintInfo->senderCol, fromStr.simplifyWhiteSpace() );    subjStr = mMsgBase->subject();    if (subjStr.isEmpty()) subjStr = i18n("No Subject");    setText( mPaintInfo->subCol, subjStr.simplifyWhiteSpace() );    time_t mDate = mMsgBase->date();    setText( mPaintInfo->dateCol, QString( ctime( &mDate )).stripWhiteSpace() );    mColor = &mPaintInfo->colFore;    switch (flag)    {    case KMMsgStatusNew:      setPixmap( 0, *KMHeaders::pixNew );      mColor = &mPaintInfo->colNew;      break;    case KMMsgStatusUnread:      setPixmap( 0, *KMHeaders::pixUns );      mColor = &mPaintInfo->colUnread;      break;    case KMMsgStatusDeleted:      setPixmap( 0, *KMHeaders::pixDel );      break;    case KMMsgStatusReplied:      setPixmap( 0, *KMHeaders::pixRep );      break;    case KMMsgStatusForwarded:      setPixmap( 0, *KMHeaders::pixFwd );      break;    case KMMsgStatusQueued:      setPixmap( 0, *KMHeaders::pixQueued );      break;    case KMMsgStatusSent:      setPixmap( 0, *KMHeaders::pixSent );      break;    default:      setPixmap( 0, *KMHeaders::pixOld );      break;    };    const int dateLength = 100;    char cDate[dateLength + 1];    strftime( cDate, dateLength, "%Y:%j:%T", gmtime( &mDate ));    mSortDate = cDate;    mSortArrival = QString( "%1" ).arg( mMsgId, 8, 36 );    mSortSender = text(mPaintInfo->senderCol).lower() + " " + mSortDate;    mSortSubject = KMMsgBase::skipKeyword( text(mPaintInfo->subCol).lower() ) + " " + mSortDate;  }