Java tutorial
//package com.java2s; import java.util.Arrays; public class Main { private static String alphabetize(String s) { char[] a = s.toCharArray(); Arrays.sort(a); return new String(a); } }