TreeSet to ArrayList changed