sort members of class Message