不多说,直接上干货! 代码需求 想从 [abcde, cba, aa, zzz, cba, nbaa] 变成 [aa, cba, cba, zzz, nbaa, abcde] CollectionsDemo.java package zhouls.bigdata.DataFeatureSelection.test; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; impo