Collections.sort uses ListIterator.set
...
for (int j=0; j
but CopyOnWriteArrayList's ListIterator does not support the remove, set or add methods.
Workaround:
Object[] a = list.toArray();
Arrays.sort(a);
for (int i = 0; i < a.length; i++) {
list.set(i, (String) a[i]);
}