]> Shamusworld >> Repos - ardour-manual/commitdiff
ensure order is preserved
authorNick Sellen <git@nicksellen.co.uk>
Thu, 31 Jan 2013 11:44:38 +0000 (11:44 +0000)
committerNick Sellen <git@nicksellen.co.uk>
Thu, 31 Jan 2013 11:44:38 +0000 (11:44 +0000)
_plugins/manual.rb

index 4b43cc63a7639f1e47320b6ab6526fb62df3051f..2c5c4b820bcac56ae6b9fa75a5cde0d2fb5d59c6 100644 (file)
@@ -22,7 +22,7 @@ module Manual
 
   def self.traverse(path, directory_sort = false, paths = [], key_paths = [], &block)
 
-      entries = Dir.glob(File.join(path,'*'))
+      entries = Dir.glob(File.join(path,'*')).sort
 
       entries.sort_by! { |e| File.directory?(e) ? 1 : 0  } if directory_sort