class CollectionUtils {

  @SuppressWarnings({"unchecked", "rawtypes"})
  public static <T> List<T> sort(List<T> list) {
    if (list != null && list.size() > 0) {
      Collections.sort((List) list);
    }
    return list;
  }

  private  CollectionUtils();

}