sort message files by importance