Fix mode sort with sort-paragraphs