Xperi Interview Question

String palindrome. Sort given array