Sort Inner Content in Descending Order


You have to sort the inner content of every word of a string in descending order. The inner content is the content of a word without first and the last char.

Create a method called sort_the_inner_content that accepts a string and does the above action.

"sort the inner content in descending order" => "srot the inner ctonnet in dsnnieedcg oredr"
def sort_the_inner_content sentence end
< >