XIT Solutions interview question

sort an array of string