int arraylist sort java number code example Example: sort an arraylist of integer //METHOD RETURNS VOID Collections.sort(arrayList);