add solution for String Sorting in Cracking the Coding interview chapter 11 problem 2