bug in ordering of dirNames fixed