Collections.sort(list,comparator)
list.sort(comparator)
Collections.sort 只是一个包装器,所以最好直接使用实例方法。
Collections.sort