Sort String Array Based Implementation