how to sort an arraylist of arrays in java code example Example: how to sort arraylist Collections.sort(coll); -> helps sort an arraylist.