Better sorting paragraphs