关于List<Map<String, Object>> 对LIst 按照map里面某个字段排序
List<Map<String, Object>> arc = (List<Map<String, Object>>) resultMap.get("arc");
Collections.sort(arc, new Comparator<Map<String, Object>>(){
public int compare(Map<String, Object> o1, Map<String, Object> o2) {
String name1 =(String)o1.get("SEQN");//name1是从你list里面拿出来的一个
String name2= (String)o2.get("SEQN"); //name1是从你list里面拿出来的第二个name
return name1.compareTo(name2);
}
});