/**
 * Sort words in string descending.
 *
 * @return self Returns instance of The Strings class.
 */
public function wordsSortDesc(): self

Examples

$string = Strings::create('car fòô bàřs apple')->wordsSortDesc();

echo $string;

The above example will output:

fòô car bàřs apple

Getting Started

Methods