code: public static String sort( String s )
  	{
  		char[] chars = s.toCharArray();
  		Arrays.sort( chars );
  		return new String( chars );
  	}
docs: Sorts the characters in the specified string.
  
  @param s   input String to sort.
  
  @return  output String, containing sorted characters.