static L sortFilesByName(L l) { sort(l, (a, b) -> stdcompare(a.getName(), b.getName()); ret l; }