str_reverse and str_sort

I have added code and test cases for:
* str_reverse
* str_sort