//내림차순 Collections.sort(arr,Collections.reverseOrder()); //오름차순 Collections.sort(arr);