Sort String Array Python Question