msg 1, _("Ignoring directory %s, begins with a dot (indicating a hidden directory)") % dir
next
end
- Dir.entries(dir).each { |file|
+ Dir.entries(dir).sort.each { |file|
type = entry2type(file)
if type
$allentries << Entry.new(File.join(dir, file), type)