Work on Sort Functionality, Format msg