我一直在尝试创建消息线程系统。我已经能够这样做了。但问题是每个特定线程的排序。到目前为止我的查询是:
SELECT
freak_member_profiles.vchPicture,
freak_membership_users.username,
freak_membership_users.vchFullName,
freak_message_center.vchMessage,
freak_message_center.intMessageCenterID,
intReceiverID,
intSenderID,
freak_message_center.enumStatus,
date_format( freak_message_center.DATE, '%d %M' ) AS dates
FROM
freak_message_center
JOIN freak_membership_users ON freak_message_center.intSenderID = freak_membership_users.id
JOIN freak_member_profiles ON freak_message_center.intSenderID = freak_member_profiles.intMemberID
WHERE
intReceiverID = '24'
GROUP BY
intSenderID
ORDER BY
freak_message_center.Date DESC
那么我怎样才能在每个特定群体中实现排序?