Reorder Log Files(LeetCode 937):

Problem