how to sort an arraylist in java by integers code example Example: sort an arraylist of integer //METHOD RETURNS VOID Collections.sort(arrayList);