Loblaw Digital interview question

1. Reverse a string 2. Sort a string in decreasing order