Comparator<VmsInboundLot> netTypeComparator = new Comparator<VmsInboundLot>() {
@Override
public int compare(VmsInboundLot o1, VmsInboundLot o2) {
return o1.getCountNum() - o2.getCountNum(); //倒叙
}
};
Collections.sort(list,netTypeComparator);