code: @SuppressWarnings("unchecked")
  	public static <T> Collection<T> sortByJavaBeanProperty(String aProperyName,
  	Collection<T> aCollection, boolean aDescending)
  	{
  		if (aCollection == null)
  			return (Collection<T>) new ArrayList<T>();
  
  		if (aProperyName == null)
  			throw new IllegalArgumentException(
  			"aProperyName required in Organizer");
  
  		BeanComparator bc = new BeanComparator(aProperyName, aDescending);
  
  		return (Collection<T>) bc.sort(aCollection);
  
  	}
docs: Sort collection of object by a given property name
  
  @param <T>
  the type class name
  @param aProperyName
  the property name
  @param aDescending
  boolean if sorting descending or not
  @param aCollection
  the collection of object to sort
  @return the collection of sorted collection of the property