public static <E extends Comparable<? super E>,L extends List<E>>L sort(L list){
  Collections.sort(list);
  return list;
}

public static < E extends Comparable < ? super E > , L extends List < E > > L sort ( L list ) { Collections . sort ( list ) ; return list ; }
sorts given list and returns it .
