DataWeave Interview Question

reverse a string and sorts