List entityList = thie.list(wrapper); // 获取list
entityList.sort(Comparator.comparingInt(Entity::getCode)); // 按照int 形的code排序(正序)
entityList.sort(Comparator.comparingInt(Entity::getCode).reversed()); // 按照int 形的code排序(倒叙)
List entityList = thie.list(wrapper); // 获取list
entityList.sort(Comparator.comparingInt(Entity::getCode)); // 按照int 形的code排序(正序)
entityList.sort(Comparator.comparingInt(Entity::getCode).reversed()); // 按照int 形的code排序(倒叙)