Change the way to sort the msglist
Rebuild