根据对象某个属性排序:时间
List<SoShipAccountExcel> soShipAccountExcels = new ArrayList<>();
省略逻辑。。。。。
Collections.sort(soShipAccountExcels,Comparator.comparing(SoShipAccountExcel::getCreateTime));
根据对象某个属性排序:时间
List<SoShipAccountExcel> soShipAccountExcels = new ArrayList<>();
省略逻辑。。。。。
Collections.sort(soShipAccountExcels,Comparator.comparing(SoShipAccountExcel::getCreateTime));