根据对象某个字段进行排序
list.sort(Comparator.comparing(e -> e.getFlowId()));
参考:https://www.cnblogs.com/love-feng/p/11324937.html