List<SysMenu>按照其属性sort排序
导包Collections
import java.util.Collections; Collections.sort(sysMenus2, new Comparator<SysMenu>(){ @Override public int compare(SysMenu o1, SysMenu o2) { // TODO Auto-generated method stub return o1.getSort()-o2.getSort(); } });