是排序字符串里面的字符吗,先转成数组,
char[]
toCharArray()
Converts this string to a new character array.
再使用 java.util.Arrays 的sort方法
static
Comparator c)
Sorts the specified array of objects according to the order induced by
the specified comparator.