Equal length rows for output, sorting messages by date and taking number to list for limiting num of msg to display