You need to use Collections.sort(list) . Arrays.sort() is for sorting Arrays and not List (or) ArrayList . Since your list is a collection ...
確定! 回上一頁