对list进行排序 对list进行排序 Collections.sort(list, Comparator.comparing(ShippingAddress::getSaIsDefault).reversed()); reversed(): 取反