VWNamed vwnFiles = new VWNamed(true);
VWNamed vwnDirs = new VWNamed(true);
for(int i = 0; i < af_sub.length; i++) {
if(af_sub[i].isFile()) {
vwnFiles.add(new FileNamed(af_sub[i]));
} else {
vwnDirs.add(new FileNamed(af_sub[i]));
}
}
//Now we can list the files first (in alpha order), and
//then dirs (in alpha order).