JavaリストCollections.sort
Arrays.asList

Collections.sortリスト

put

指定したリストを自然順序でソートします。

문법

Collections.sort(list)