code: public static <T> String stringImg(T[] v) {
  	if(v == null) return "null";
  
  	StringBuffer buffer = new StringBuffer();
  
  	Arrays.sort(v, new UComp<T>());
  	for(int i=0; i<v.length; i++) {
  	    buffer.append(v[i]);
  	    buffer.append("\n");
  	}
  
  	return buffer.toString();
      }
docs: Returns a string representation of all elements from an array,
  in increasing lexicographic order of their string
  representations.