public static String sortedWord(String s) {
		int size = StringDemo.wordCount(s);
		String s1[] = new String[size];
		String temp;
		for (int i = 0; i < size; i++) {
			if (i == (size - 1)) {
				s1[i] = s.substring(0);
			} else {
				s1[i] = s.substring(0, s.indexOf(' '));
				s = s.substring(s.indexOf(' ') + 1);
			}
		}
		for (int i = 0; i < size; i++) {
			for (int j = i; j < size; j++) {
				if (s1[i].compareToIgnoreCase(s1[j]) > 0) {
					temp = s1[i];
					s1[i] = s1[j];
					s1[j] = temp;
				}
			}
		}
		s = s1[0];
		for (int i = 1; i < size; i++) {
			s = s + " " + s1[i];
		}
		return s;
	}