static void sortFilesByName(L l) { sort(l, new Comparator() { public int compare(File a, File b) { ret stdcompare(a.getName(), b.getName()); } }); }