List<Map>排序,按字符或数字类型排序,支持正序倒序,数字排序时处理空字符和非数字排序:空<非数字<数字
/**
* 数字校验(正、负、小数)
* @param s
* @return
*/
public static boolean isNumeric(String s) {
if (s != null && !"".equals(s.trim()))
return s.matches("^-?\\d+(\\.\\d+)?$");
else
return false;
}
/**
* List