class CollectionUtils {

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

    private  CollectionUtils();

}