// 根据orderList顺序排序,orderList不存在的元素放置在targetList最后面privatestaticvoidsort1(List<String>targetList,List<String>orderList){targetList.sort(((o1,o2)->{int io1=orderList.indexOf(o1);int io2=orderList.indexOf(o2);if(io1!=-1){io1=targetList.size()-io1;}if(io2!=-1){io...