Added selectSort and Arrays.sort()