System.out.println(Arrays.toString(listSorted.toArray()));