Added a function to get sorted sentenses from a content or paragraph